Thanks Jeffrey and Chris. This does not work:
srun -N 1 -n 24 --pty bash -i But this works: srun -N 1 -n 24 --ntasks-per-core=2 --pty bash -i So one has to be explicit about ntasks-per-core on the command line or in the sbatch file, even though ThreadsPerCore is in slurm.conf. > On Mar 27, 2019, at 7:30 PM, Chris Samuel <ch...@csamuel.org> wrote: > > On 27/3/19 1:00 pm, Anne M. Hammond wrote: > >> NodeName=fl[01-04] CPUs=24 RealMemory=40000 Sockets=2 CoresPerSocket=6 >> ThreadsPerCore=2 State=UNKNOWN > > This will give you 12 tasks per node, each task with 2 thread units. > > -- > Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA >