[slurm-users] Python code for munging hostfiles

Loris Bennett loris.bennett at fu-berlin.de
Tue Apr 17 03:04:33 MDT 2018


Hi John,

John Hearns <hearnsj at googlemail.com> writes:

> Please can some kind soul remind me what the Python code for mangling
> Slurm and PBS machinefiles is called please? We discussed it here
> about a year ago, in the context of running Ansys.
>
> I have a Cunning Plan (TM) to recode it in Julia, for no real reason
> other than curiosity.
>

Are you thinking of 'hostnames':

$ scontrol show hostnames node[1-3]
node1
node2
node3

Good luck with the CP!

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list