How to prevent parpool Error

조회 수: 14 (최근 30일)
sarah hong
sarah hong 2021년 8월 24일
댓글: Vighneshwar 2024년 12월 29일
Hi all,
I would like to ask a question related to parpool error:
Error using parpool (line 145)
Parallel pool failed to start with the following error. For more detailed information, validate the profile 'local' in the Cluster Profile Manager.
--------------- Stack Trace --------------
Full Message:
Error using parpool (line 145)
Parallel pool failed to start with the following error. For more detailed information, validate the profile 'local' in the Cluster Profile Manager.
Identifier: parallel:cluster:PoolRunValidation
------------------------------------------
I used MATLAB by submitting jobs that contains parpool work using SLURM, and when I submit 6~7 jobs, it randomly shows parpool error.
After the error, parpool becomes unable to open until I remove local_cluster_jobs under the directory one above prefdir.
I wonder why this error happens, and if there is any ways to prevent the error before occurance. I also wonder if increasing number of workers in parpool may solve the issue?
Please advise. Thank you.

채택된 답변

Raymond Norris
Raymond Norris 2021년 8월 24일
There's a slight change it's because multiple jobs are running at the same time, all contending for the same subfolder. If so, this should be resolved in R2021a. In either case, contact Technical Support (support@mathworks.com) and they can either show you a workaround prior to R2021a or help troubleshoot the issue if it's something else.
  댓글 수: 2
sarah hong
sarah hong 2021년 8월 25일
I have tried again in MATLAB R2021a, and i don't see the same error any longer. Thank you!
Vighneshwar
Vighneshwar 2024년 12월 29일
I'm facing a similar problem while using R2020a. Is there any fix to this ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by