Look at the environment variable SLURMD_NODENAME Quoting E L <[email protected]>:
> > Hello, > > How can one find the local node-nameas Slurm knows it. > Obviously `hostname -s` will do it 99% of the time, > but what if a node has several names and Slurm knows it by a different one? > > Thanks, > > Nakee
