Parallel Pool sometimes failed to start
26 次查看(过去 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
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!