[slurm-users] extended list of nodes allocated to a job
Alain O' Miniussi
alain.miniussi at oca.eu
Thu Aug 17 13:48:13 UTC 2023
A colleague pointed to me the following commands:
#scontrol show hostname x[1000,1009,1029-1031]
#scontrol show hostlist x[1000,1009,1029,1030,1031]
DSI, Pôles Calcul et Genie Log.
Observatoire de la Côte d'Azur
Tél. : +33609650665
----- On Aug 17, 2023, at 3:12 PM, Sean Mc Grath <smcgrat at tcd.ie> wrote:
> Hi Alain,
> I don't know if slurm can do that natively. python-hostlist, [
> https://www.nsc.liu.se/~kent/python-hostlist/ |
> https://www.nsc.liu.se/~kent/python-hostlist/ ] , may provide the functionality
> you need. I have used it in the past to generate a list of hosts that can be
> looped over.
> Hope that helps.
> Sean McGrath
> Senior Systems Administrator, IT Services
> From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Alain O'
> Miniussi <alain.miniussi at oca.eu>
> Sent: Thursday 17 August 2023 13:44
> To: Slurm User Community List <slurm-users at lists.schedmd.com>
> Subject: [slurm-users] extended list of nodes allocated to a job
> I'm looking for a way to get the list of nodes where a given job is running in a
> uncompressed way.
> That is, I'd like to have node1,node2,node3 instead of node1-node3.
> Is there way to achieve that ?
> I need the information outside the script.
> Alain Miniussi
> DSI, Pôles Calcul et Genie Log.
> Observatoire de la Côte d'Azur
> Tél. : +33609650665
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users