Error using parpool with threads in 2020a
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Francesc Massanes Basi
el 13 de Jul. de 2020
Comentada: Julie F.
el 11 de Sept. de 2020
I have compiled a code that uses parpool("threads"), in 2020a, my code works as expected when run inside of matlab. However, once the code is compiled, and executed with the latest 2020a runtime, it reports:
Unable to resolve the name parallel.ThreadPool.createPool.
Any ideas? This seems to be from a Java installation, right?
0 comentarios
Respuesta aceptada
Raymond Norris
el 14 de Jul. de 2020
Hi Francesc. Support for threaded pools in deployed applications is a future enhancement. In the meantime, consider the following workaround
if isdeployed
p = parpool('local');
else
p = parpool('threads');
end
2 comentarios
Julie F.
el 11 de Sept. de 2020
I also encountered this issue... I was hoping thread pools would be available in deployed apps so we could take advantage of the performance imrpovements.
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!