[slurm-users] Job step do not take the hole allocation

Tommi Tervo tommi.tervo at csc.fi
Fri Jun 30 06:41:06 UTC 2023


> I searched the slurm.conf documentation, the mailing list and also the
> changelog, but found no reference to a matching parameter.
> Do anyone of you know the behavior and how to change it?

Hi,

This was an annoying change:

22.05.x RELEASE_NOTES:
 -- srun will no longer read in SLURM_CPUS_PER_TASK. This means you will
    implicitly have to specify --cpus-per-task on your srun calls, or set the
    new SRUN_CPUS_PER_TASK env var to accomplish the same thing.

Here one can find relevant discussion:

https://bugs.schedmd.com/show_bug.cgi?id=15632

I'll attach our cli-filter pre_submit function which works for us.

BR,
Tommi Tervo
CSC


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cli_filter.lua
Type: text/x-matlab
Size: 679 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230630/46224543/attachment.bin>


More information about the slurm-users mailing list