Michel, That functionality is actually for compressing and uncompressing host strings ie;
[root@chama-rps1 syslog-ng]# scontrol show hostnames node[1-4] node1 node2 node3 node4 and [root@chama-rps1 syslog-ng]# scontrol show hostlist "node1 node2 node3 node4" node[1-4] --Jerry Michel Bourget wrote: > Hi, > > I must be 'dense" ( but hope not ) but, given this slurm.conf entry: > NodeName=n[1-4] NodeHostname=r1i3n[0-3] > > I would expect scontrol show hostnames n1' to return r1i3n0. Sounds like > not, ie.: > > # scontrol show hostnames n1 > n1 > > This is slurm 2.3.4. Digging back to 2.2.7, our customer have, > 'scontrol show node <node>' , it does not have a NodeHostName output. > In fact, I am trying to solve the issue: > Gimme the NodeHostName given a NodeName. > I see nno places in 2.2.7 , 2.3.4 where slurm_conf_get_hostname() > is used. > > For 2.2.7, I will end up writing a very small .c program. > But, for 2.3.X and above, a bug ? > > Am I missing something ? > > Thanks in advance. > >
