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.
>>

 Réponse acceptée

Ed Mitchell
Ed Mitchell le 16 Sep 2022

0 votes

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

Plus de réponses (1)

Bhargavi Maganuru
Bhargavi Maganuru le 26 Nov 2019

1 vote

6 commentaires

Zelalem
Zelalem le 26 Nov 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.
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 le 11 Août 2020
Thank Bhargavi Maganuru a lot!
It works for me, with Matlab R2017b.
Very helpful
Matlab 2019b
It works for me, Thanks!
matlab 2020b

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by