Oh, that's it! Indeed i have full definition of nodes with board sockets and threads...

At some point i hoped to be able to use both types, chosen by jobs, cores for Monte-Carlo or some other 100% numerical jobs, and "cpus" for data analysis jobs that have a lot of IO

Thanks a lot!!
Adrian

On Jun 11, 2025 09:13, Daniel Letai via slurm-users <slurm-users@lists.schedmd.com> wrote:

How are the nodes configured? The question is of CPU definition - is it cores? threads? sockets? That depends on node configuration.

See https://slurm.schedmd.com/slurm.conf.html#OPT_CR_CPU



CR_CPU
CPUs are consumable resources. Configure the number of CPUs on each node, which may be equal to the count of cores or hyper-threads on the node depending upon the desired minimum resource allocation. The node's Boards, Sockets, CoresPerSocket and ThreadsPerCore may optionally be configured and result in job allocations which have improved locality; however doing so will prevent more than one job from being allocated on each core.


On 11/06/2025 0:53, Adrian Sevcenco via slurm-users wrote:
Hi! i have a weird situation in which only cores are used instead of CPUs
this is Alma9/slurm 22.05.9 (the last one from epel)

I have:

conf.d/resources.conf
9:SelectType=select/cons_res

conf.d/resources.conf
11:SelectTypeParameters=CR_CPU

conf.d/resources.conf
5:TaskPluginParam=autobind=threads

conf.d/resources.conf
2:TaskPlugin=task/affinity,task/cgroup

cgroup.conf
2:ConstrainCores=no

conf.d/parts_issaf.conf
8:PartitionName=CLUSTER DEFAULT=YES State=UP nodes=DEFAULT DefaultTime=240:00:00 MaxTime=480:00:00 LLN=yes MaxNodes=1

What am i missing? Why are only cores used?

Thanks a lot!!
Adrian