Re: [slurm-users] CPU allocation within a node is not cyclic

2018-10-07 Thread CUI Hao
Changing SelectTypeParameters to CR_Core_Memory still does not guarantee cyclic core allocation. I dig into Slurm source code and find another potential issues in select/cons_res plugin. For detail: https://bugs.schedmd.com/show_bug.cgi?id=5819 崔灏 (CUI Hao) 于2018年10月6日周六 上午10:15写道: > > I checked

Re: [slurm-users] CPU allocation within a node is not cyclic

2018-10-06 Thread Ole Holm Nielsen
On 06-10-2018 04:15, 崔灏 (CUI Hao) wrote: $ scontrol reconfigure slurm_reconfigure error: SelectType change requires restart of the slurmctld daemon to take effect I'm afraid that restarting slurmctld will interrupt current tasks, so I'm still waiting for them to finish. There should be no prob

Re: [slurm-users] CPU allocation within a node is not cyclic

2018-10-05 Thread CUI Hao
I checked the source code, and now belive it is a bug of select/cons_res plugin (or intended behavior). In src/plugins/select/cons_res/dist_tasks.c (tag slurm-18-08-0-1), line 1863~1869 triggers block allocation if SelectTypeParameters is not set to CR_CORE / CR_SOCKET, without regard to task dist

[slurm-users] CPU allocation within a node is not cyclic

2018-10-05 Thread CUI Hao
Hi, According to https://slurm.schedmd.com/cpu_management.html, > The default allocation method within a node is cyclic allocation (allocate > available CPUs in a round-robin fashion across the sockets within a node). Not a native English speaker. I think the sentense means that: if a job alloca