Stuck in parpool/parfor initialization

5 views (last 30 days)
Julien Figuet
Julien Figuet on 3 May 2019
Moved: Walter Roberson on 16 Mar 2025
I am using Matlab 2016b, and I want to do a parfor but Matlab is stuck in parpool initialization (waited more than 40 min). It is the same If I am using parpool function and whatever the pool size that I set.
I am using license in server.
Any tips ?
Thank you.
  2 Comments
Edric Ellis
Edric Ellis on 7 May 2019
It's impossible to say from the information you've given here to work out what the problem is. I suggest contacting MathWorks support directly to deal with this sort of problem.
guru
guru on 16 Mar 2025
Moved: Walter Roberson on 16 Mar 2025
I was able to run Matlab parfor commands without issue one day ago. Today, Matlab gets stuck on "Starting parallel pool (parpool) using the 'local' profile ..." I've tried searching the Matlab functions used when starting a parpool and found that it is getting stuck in an endless while loop in the below nested function within JavaBackedSession. Any troubleshooting suggestions or fixes for this issue would be appreciated. I've spent several hours looking at parfor issues online already and the four troubleshooting steps listed below did not work.

Sign in to comment.

Answers (0)

Categories

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

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!