如何在Slurm中设置RealMemory?

bec*_*cko 3 slurm

slurm.conf应该将节点的RealMemory设置为小于或等于节点中可用内存的值。否则,该节点将被设置为漏极状态。

我如何知道Slurm从操作系统获取的内存并与RealMemory进行比较,以确定是否应该耗尽节点?

dam*_*ois 5

您可以slurmd -C 在计算节点上运行。从手册页

-C
Print actual hardware configuration and exit. The format of output is 
the same as used in slurm.conf to describe a node's configuration 
plus it's uptime.
Run Code Online (Sandbox Code Playgroud)