Parallel Pool sometimes failed to start

34 次查看(过去 30 天)
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by