Filter löschen
Filter löschen

Parallel Pool sometimes failed to start

49 Ansichten (letzte 30 Tage)
DavidePiccinini
DavidePiccinini am 29 Okt. 2022
Beantwortet: Jayant Gangwar am 3 Nov. 2022
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

Antworten (1)

Jayant Gangwar
Jayant Gangwar am 3 Nov. 2022
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.

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by