Parallel Pool sometimes failed to start
Afficher commentaires plus anciens
Hi all,
I had to shutdown and reopen parallel pool to avoid to fill up all the memory, but after few times I got this error
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 149)
Parallel pool failed to start with the following error. For more detailed information, validate the profile 'local' in the Cluster Profile Manager.
Error in run_mcorr (line 69)
p=parpool(16)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 676)
Failed to initialize the interactive session.
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 787)
The interactive communicating job failed with no message.
Of course the local profile is fine.
Could someone help me to understand why it happen and how to solve the problem?
MATLAB Version: 9.9.0.2037887 (R2020b) Update 8 running on Linux
1 commentaire
Raymond Norris
le 30 Oct 2022
Réponses (1)
Jayant Gangwar
le 3 Nov 2022
1 vote
Hi Davide,
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:
MATLAB\R2020b\toolbox\local\pathdef.m, then delete the pathdef.m file so that on execution of the command, the file gets recreated.
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!