ntasks=N as an argument to sbatch or srun? Should work as long as you don’t have exclusive node settings. From our setup:
[renfro@login ~]$ hpcshell --ntasks=16 # hpcshell is a shell function for 'srun --partition=interactive $@ --pty bash -i' [renfro@gpunode001(job 202002) ~]$ srun hostname | sort | uniq -c 12 gpunode001 4 gpunode002 [renfro@gpunode001(job 202002) ~]$ > On Jul 10, 2019, at 3:48 PM, HELLMERS Joe <joe.hellm...@3ds.com> wrote: > > Is there a way to instruct SBATCH to submit a job with a certain number of > cores without specifying anything else? I don’t care which nodes or sockets > they run on. They would only use on thread per core.