Changing to "SelectType=select/cons_res" worked, thanks.
On Tue, Jul 12, 2016, at 17:00, Benjamin Redling wrote: > > Hi Yuri, > > On 2016-07-12 20:53, Yuri wrote: > > In slurm.conf I have CPUs=4 for each node (but each node actually has a > > Intel Core i7). My question is: why is slurm assigning only one job per > > node and each job is consuming 8 CPUs? > > considering that you only provide "CPU... for each node" the sbatch > command seems secondary to me -- I bet it is a basic configuration issue. > > For what you seem to aim for, setting CPUs for each node alone is not > sufficient. > > E.g. The default SelectType is select/linear (whole nodes). > > The selection of the node and resources can depend on a lot of stuff. > Maybe this one first: > http://slurm.schedmd.com/cpu_management.html > > And IMO the most important in your case SelectType=select/cons_res and > SelectTypeParameters: > https://slurm.schedmd.com/cons_res.html > > If I misunderstood your posting and you think you have a proper setup > that is misbehaving, can you post the other settings in your slurm.conf? > > Regards, > Benjamin > -- > FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html > vox: +49 3641 9 44323 | fax: +49 3641 9 44321