[slurm-users] sinfo : Format NodeHost truncation

Nicholas Yue yue.nicholas at gmail.com
Thu Apr 7 18:02:14 UTC 2022


Hi,

  I am spinning up an MPI/Slurm cluster on AWS

  I am attempting to script the node names discovery for any given cluster

  I tried `sinfo --Node --Format=NodeHost`

  sinfo truncates the hostname to the first 20 characters but AWS creates
hosts with longer names.

  Is there some workaround to get the full host's name ?

  If I need to use a different way or different command,I am OK with that.

Cheers
-- 
Nicholas Yue
https://www.linkedin.com/in/nicholasyue/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220407/157b6e7d/attachment.htm>


More information about the slurm-users mailing list