That would be of value, but is currently not supported.

Quoting Damien François <[email protected]>:


Hello all,

Slurm allows resizing jobs with 'scontrol update jobid=$SLURM_JOB_ID NumNodes=1' as described here: http://slurm.schedmd.com/slurm_ug_2011/Advanced_Usage_Tutorial.pdf . That works without problem.

However, we share nodes (SelectType = select/cons_res; SelectTypeParameters = CR_CORE_MEMORY ) so I was trying to do something like 'scontrol update jobid=$SLURM_JOB_ID numtasks=1' or 'scontrol update jobid=$SLURM_JOB_ID numcpus=1' but it does not seem possible to do that while the job is running. I have messages like "slurm_update error: Requested operation is presently disabled" or "Update of this parameter is not supported: NumTask=1"

Am I doing it wrong? Are there alternatives?

Thanks in advance
damien=

Reply via email to