[slurm-users] Question about sbatch options: -n, and --cpus-per-task

David Henkemeyer david.henkemeyer at gmail.com
Thu Mar 24 19:32:09 UTC 2022

Assuming -N is 1 (meaning, this job needs only one node), then is there a
difference between any of these 3 flag combinations:

-n 64 (leaving cpus-per-task to be the default of 1)
--cpus-per-task  64 (leaving -n to be the default of 1)
--cpus-per-task 32 -n 2

As far as I can tell, there is no functional difference. But if there is
even a subtle difference, I would love to know what it is!

Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220324/90a8a750/attachment.htm>

More information about the slurm-users mailing list