[slurm-users] srun and --cpus-per-task

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Fri Mar 25 10:16:34 UTC 2022

Hermann Schwärzler <hermann.schwaerzler at uibk.ac.at> writes:

> Do you happen to know if there is a difference between setting CPUs
> explicitely like you do it and not setting it but using
> "ThreadsPerCore=1"?
> My guess is that there is no difference and in both cases only the
> physical cores are "handed out to jobs". But maybe I am wrong?

I don't think we've ever tried that.  But I'd be sceptical about "lying"
to Slurm about the actual hardware structure - it migth confuse the cpu
binding if Slurm and the kernel has different pictures of the hardware.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220325/99035886/attachment.sig>

More information about the slurm-users mailing list