starting matlab pool hangs in 2018b

8 views (last 30 days)
Hi,
when I try to start a local pool either by clicking on 'Start parallel pool' or calling 'parpool' or during a call to 'parfor' (automatic start enabled), matlab starts to intitialize it but it does that for hours if I do not abort the process.
There is no error message, however, significant cpu resource consumption.
I went through similar issues posted in the forum and tried
distcomp.feature( 'LocalUseMpiexec', false )
However, this did not solve the issue.
The matlab version is running under windows 10 with administrative rights on a Lenovo notebook T470.
Please help!
Thanks, Norman
  1 Comment
Edric Ellis
Edric Ellis on 27 Feb 2019
I suggest contacting MathWorks support to help resolve this. (One quick thing you might check is that you don't have a startup.m file that might be interfering).

Sign in to comment.

Accepted Answer

Norman Forschack
Norman Forschack on 27 Feb 2019
Thanks Edric for your comment, which let me move forward to the solution :)
At first, I couldn't see how the startup.m file might interfere as I never had issues with startup.m files in the past years.
However, in this specific case, I used a startup.m file that prompts a user input. This would indeed create a problem if starting a parallel pool also starts the startup.m file again.
This is probably the case because commenting the "input" line solved the issue.
So I learned something new. Thanks a lot for your hint Edric!

More Answers (0)

Categories

Find more on Parallel Computing Fundamentals in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!