Matlab parallel processing failure

2 次查看(过去 30 天)
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
Untitled.png

采纳的回答

Steven Lord
Steven Lord 2019-7-3
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Parallel Server 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by