Failed to start a parallel pool in MATLAB 2019b

I'm not sure why I keep getting the following error when I tried to train my network
Training on single GPU.
Initializing input data normalization.
Starting parallel pool (parpool) using the 'local' profile ...
Error using trainNetwork (line 170)
Parallel pool failed to start with the following error. For more detailed information, validate the profile 'local' in
the Cluster Profile Manager.
Error in PrototypicalClassificationNetwork/train (line 200)
obj.net = trainNetwork(dataStore, layers, options);
Caused by:
Error using parpool (line 113)
Parallel pool failed to start with the following error. For more detailed information, validate the profile
'local' in the Cluster Profile Manager.
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 668)
Failed to initialize the interactive session.
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 781)
The interactive communicating job failed with no message.
>>

 Respuesta aceptada

Ed Mitchell
Ed Mitchell el 16 de Sept. de 2022

0 votos

If you are having issues with starting a parallel pool on the local scheduler, the following MATLAB Answers post contains the most comprehensive troubleshooting steps.
https://www.mathworks.com/matlabcentral/answers/92124-why-am-i-unable-to-use-parpool-with-the-local-scheduler-or-validate-my-local-configuration-of-parall

Más respuestas (1)

Bhargavi Maganuru
Bhargavi Maganuru el 26 de Nov. de 2019

1 voto

6 comentarios

Zelalem
Zelalem el 26 de Nov. de 2019
Still unable to resolve the issue using "distcomp.feature( 'LocalUseMpiexec', false )"
I also deleted the "local_cluster_jobs" but unsccessful. I wonder if this is something to do with the network license.
Dominik Röhr
Dominik Röhr el 22 de Mzo. de 2020
Having the same issue. On several PCs under our university liscense actually.
Hopeing for someone to publish a solution that helps.
Try running the following commands in the MATLAB Command Window:
restoredefaultpath
savepath
Once done, restart MATLAB and then try to start a parallel pool again. If there is an error in accessing the file:
C:\Program Files\MATLAB\R2016b\toolbox\local\pathdef.m, then delete the pathdef.m file so that on execution of the command, the file gets recreated.
thu nguyen
thu nguyen el 11 de Ag. de 2020
Thank Bhargavi Maganuru a lot!
It works for me, with Matlab R2017b.
Long Meng
Long Meng el 5 de En. de 2021
Very helpful
Matlab 2019b
Xingya Tsai
Xingya Tsai el 16 de En. de 2021
It works for me, Thanks!
matlab 2020b

Iniciar sesión para comentar.

Categorías

Preguntada:

el 22 de Nov. de 2019

Respondida:

el 16 de Sept. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by