Eva,
Does it matter? CR_Core and CR_Core_Memory prevent multiple jobs from 
being allocated CPUs on the same core.  So whether Slurm allocates one or 
both CPUs on a core to your job shouldn't make any difference for other 
jobs.  Or is this just an accounting issue?
Martin



From:   Eva Hocks <[email protected]>
To:     "slurm-dev" <[email protected]>, 
Date:   08/09/2013 11:41 AM
Subject:        [slurm-dev] CR_Core_Memory and CR_Core versus 
CR_CPU_Memory







I am struggling to set slurm to allocate the correct CPUs for a job
requesting 1 task.

With hyperthreading enabled and the CR_Core setting slurm allocates 2
CPUs per job requesting 1 CPU:



srun -n 1  --pty --ntasks-per-node=1

shows:
NodeList=gpu-1-9
NumNodes=2 NumCPUs=2 CPUs/Task=1



The node configuratoin has the correct settings:
CPUs=32 Sockets=2 CoresPerSocket=8 ThreadsPerCore=2



I can't use the CR_CPU_Memory since I would like 2 partitions to monitor
CR_Core_Memory and one partition to monitor CR_Core. The partition
SelectTypeParameters does not allow for CR_CPU


How do I configure slurm to allocate the correct CPUs requested by the
job?


Thanks
Eva


Reply via email to