On a supercomputing server, I assign a task to 2 nodes, with 48 workers maximum.
But the MATLAB command parpool(36) does not work. The error message is as follows:
Error using parpool (line 113) You requested a minimum of 36 workers, but the cluster "local" has the NumWorkers property set to allow a maximum of 24 workers. To run a communicating job on more workers than this (up to a maximum of 512 for the Local cluster), increase the value of the NumWorkers property for the cluster. The default value of NumWorkers for a Local cluster is the number of cores on the local machine.
According to this tip, I added two commands to my code as shown below:
myCluster = parcluster;
myCluster.NumWorkers = 36;
After that, parpool(36) runs without errors, but the computing time remains unchanged. So I guess that these 2 commands can't help me. How can I use 36 cores on 2 nodes?