Local parallel cluster profile validation createJob takes a very long time to run
8 views (last 30 days)
Show older comments
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.
Answers (1)
Raymond Norris
on 17 Feb 2021
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).
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!