Request exclusive use of slurm batch nodes for a parpool that is less than the total number of cores.
4 ビュー (過去 30 日間)
Hi, is there a way to tell a slurm matlab job to run in exclusive mode on 2 nodes even though the parpool is using fewer than the total number of cores? Our slurm batch nodes have 128 cores, but I am only requesting a parpool of 240, but I would still like the job to run exclusively on the 2 nodes. We are using matlab parallel server and my batch job looks like:
module load matlab
matlab -batch "addpath ('/sdf/home/r/renata/matlab/jaehyun');test240"
And test240.m has these settings:
c.AdditionalProperties.ProcsPerNode = 121;
Thanks for any insight,
回答 (1 件)
Raymond Norris 2022 年 2 月 24 日
Renat your MATLAB code looks similar to installations we've supported in the past. If that's true, run
Do you see the RequireExclusiveNode field? If so, you can set it as such
c.AdditionalProperties.RequireExclusiveNode = true;
If the field is not there, contact me and I can help you resolve this.