Parallel pool hangs on startup for all versions of Matlab

조회 수: 27 (최근 30일)
Lionel
Lionel 2021년 9월 22일
답변: Raymond Norris 2021년 9월 22일
Hi,
I have a critical issue with my Matlab installations that prevents me from using parallel pools on all versions of Matlab installed.
When starting a parallel pool (either from command line or manually), the process initiates and returns a result ('connected to 5 workers') and then it hangs. Using ctr+C gives the followig error message but then the window become irresponsive (which is why I had to make a screen capture:
As you might see here the problem arises when running parallel.Pool.hBuildPool. This error is independent from the vesion of Matlab: I installed version 2019b and the problem is the same, on a clen install.
This problem started after using two sessions of matlab on the same computer, each one using a parallel pool. Both crashed at some point while one was processing data, and this issue seems permanent on that computer.
Any suggestion to rsolve this?

답변 (1개)

Raymond Norris
Raymond Norris 2021년 9월 22일
Not sure why this would happen with every version of MATLAB. First try clearing out all the job files (this will destroy past job results). You list MATLAB Parallel Server, but I'm going to assume you're using just PCT/local scheduler. Let me know if you're using a different scheduler (e.g., MJS, PBS, etc.) and I'll give a slightly different version of the cleanup.
local = parcluster('local');
rmdir(local.JobStorageLocation,'s')

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by