The code matches what you report below. The documentation is just out  
of date and will be corrected in the next release. Thanks.

Quoting Bjørn-Helge Mevik <[email protected]>:

>
> According to man slurm.conf, the default for NodeAddr is NodeName:
>
>   "By  default, the NodeAddr will be identical in value to NodeName."
>
> However, it seems the default is NodeHostname (when that differs from
> NodeName): With the following in slurmnodes.conf:
>
> Nodename=c0-0 NodeHostname=compute-0-0 ...
>
> I get
>
> # scontrol show node c0-0
> NodeName=c0-0 Arch=x86_64 CoresPerSocket=2
>    CPUAlloc=0 CPUErr=0 CPUTot=4 Features=intel,rack0,hugemem
>    Gres=(null)
> ***
>    NodeAddr=compute-0-0 NodeHostName=compute-0-0
> ***
>    OS=Linux RealMemory=3949 Sockets=2
>    State=IDLE ThreadsPerCore=1 TmpDisk=10000 Weight=1027
>    BootTime=2012-05-08T15:07:08 SlurmdStartTime=2012-05-25T10:30:10
>
> (This is with 2.4.0-0.pre4.)
>
> (We are planning to use cx-y instead of compute-x-y (the rocks default)
> on our next cluster, to save some typing.)
>
> --
> Regards,
> Bjørn-Helge Mevik, dr. scient,
> Research Computing Services, University of Oslo

Reply via email to