Local parallel cluster profile validation createJob takes a very long time to run
6 次查看(过去 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.
6 个评论
回答(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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/522517/image.png)
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 中查找有关 Cluster Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!