Local parallel cluster profile validation createJob takes a very long time to run
조회 수: 8 (최근 30일)
이전 댓글 표시
I am trying to validate my local parallel cluster profile on my system and when it gets to the step createJob and it runs for a very long time (> 30 minutes) (in MATLAB R2016b).
What might be some of the results why it seems to be taking so long?
When I type in
license('inuse')
It returns:
distrib_computing_toolbox
matlab
So it looks like that I am able to pull the license for the Distributing Computing Toolbox, but normally the createJob step in validating a local parallel cluster profile runs very quickly.
But now, it's either not running at all or it's taking > 30 minutes to run. (I've only been running it for half an hour so far, but there doesn't appear to be a "timeout" for that task where it will denote that task as failed to run.)
If anybody can provide some advice or guidance or maybe some suggestions for me to check, that would be greatly appreciated.
Thank you.
답변 (1개)
Raymond Norris
2021년 2월 17일
Do you happen to have a local parallel pool already running, using all your cores, as you run your validation? I'm not sure when we added the check, but if you do, then MATLAB should have prompted you with the following dialog box
Although the parpool stage will fail, you could still run the validation and the createJob stage would hang.
What puzzles me is that you can call license while the validation is running, since validation blocks the MATLAB execution thread. Perhaps you ran that before validation, which in part lead me to think you might already have a parallel pool running.
By the way, validation for local should be unncessary. It's primarily for use with any other scheduler (e.g. MJS, Slurm) since there we're trying to connect through to firewalls, ports, etc If my observation above doesn't address your issue (not likely), I'd suggest contacting Technical Support (support@mathworks.com).
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!