Matlab parallel processing failure
1 view (last 30 days)
Show older comments
Mohamed Eltabbal
on 3 Jul 2019
Answered: Steven Lord
on 3 Jul 2019
Hi,
I am running matlab 2019a on Win10, i am trying to start parallel processing toolbox and i get the following message
NaN/Inf breakpoint hit for CJSCluster.m on line 622.
line622-- factoryNumWorkers = Inf;
I understand that the number of workers is not determined but i thought this should be automatically assigned when you change the parallel pool properties (number of worker is set to be 12 in my computer)
thanks in advance
0 Comments
Accepted Answer
Steven Lord
on 3 Jul 2019
Quit debugging, turn off the Error Breakpoint "Pause on NaN or Inf", and rerun your code that starts the parallel pool.
Internally the functions that start the pool may use inf or nan as placeholders, but those should not be the final value for the size of the pool.
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!