[slurm-users] Python code for munging hostfiles

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


Loris Bennett <loris.bennett at fu-berlin.de> writes:

> 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

Actually, you probably mean this:

  https://www.nsc.liu.se/~kent/python-hostlist/

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