Clear Filters
Clear Filters

Parallel Pool sometimes failed to start

48 views (last 30 days)
DavidePiccinini
DavidePiccinini on 29 Oct 2022
Answered: Jayant Gangwar on 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

Answers (1)

Jayant Gangwar
Jayant Gangwar on 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.

Categories

Find more on Parallel Computing Fundamentals in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!