dear HPC community.
I’ve requested a node in Baobab with 10 CPUs. In order to set up the number of parallel workers in matlab, I used the “parcluster” function:
ans =
Local Cluster
Properties:
Profile: local
Modified: false
Host: node056
NumWorkers: 16
NumThreads: 1
JobStorageLocation: /home/gavirial/.matlab/local_cluster_jobs/R2019b
RequiresOnlineLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 27
Number Finished: 0
According to this output, It is not clear to me whether the right number of workers in my case would be 10 (which corresponds to the number of assigned CPUs in the node), or 16 ( the number of workers according the matlab version installed). Apparently, the number of nodes and CPUs should be the same:
https://ch.mathworks.com/matlabcentral/answers/219754-open-all-cores-in-parpool
Thanks in advance for any comment on this regard.