[slurm-users] Not able to allocate all 24 ntasks-per-node; slurm.conf appears correct
Anne M. Hammond
hammond at txcorp.com
Thu Mar 28 20:33:29 UTC 2019
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 <chris at 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
>
More information about the slurm-users
mailing list