[slurm-users] memory per node default

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Fri Jan 21 06:51:23 UTC 2022

On 1/20/22 22:22, Hoot Thompson wrote:
> How do you change the default memory per node from the current 1MB to 
> something much higher?
> Thanks in advance.
> *ubuntu at node*:*/shared*$ sinfo -o "%20N%10c%10m%25f%10G "
> hpc-demand-dy-c5n18x361 dynamic,c5n.18xlarge,c5n1(null)

See the slurm.conf manual page:

> RealMemory
>     Size of real memory on the node in megabytes (e.g. "2048"). The default value is 1. 

There's a nice command to run on any given node which tells you slurmd's 
view of the node:

$ slurmd -C
NodeName=i004 CPUs=16 Boards=1 SocketsPerBoard=2 CoresPerSocket=8 
ThreadsPerCore=1 RealMemory=128691

Here's an example that I use:

NodeName=i[004-030] Sockets=2 CoresPerSocket=8 ThreadsPerCore=1 

There is additional information in my Wiki page:

Best regards,

More information about the slurm-users mailing list