[Wien] Slurm
Laurence Marks
laurence.marks at gmail.com
Wed Nov 11 15:07:02 CET 2015
And, at least in an interactive job, none of these work...
Sigh. The man page of srun is also inconsistent with the actual srun
used....
On Wed, Nov 11, 2015 at 7:08 AM, Laurence Marks <laurence.marks at gmail.com>
wrote:
> Thanks. Does it produce a one line/entry list?
>
> I found a variant that might also work (need to test)
>
> # Generate Machinefile for mpich such that hosts are in the same order as
> if run via srun
>
> srun -l /bin/hostname | sort -n | awk '{print $2}' > MACHINEFILE
>
> # Run using generated Machine file:
>
> mpirun -np $SLURM_NTASKS -machinefile MACHINEFILE mpi-app
>
> If this works, then
>
> srun -l /bin/hostname | sort -n | awk '{print $2}' > MACHINEFILE
> set PBS_NODEFILE=MACHINEFILE
> x Machines2W
>
> "should" be general.
>
> N.B., standard caveats, i.e. where is hostname, does it always have the
> same format, is sort needed, etc...
>
> ---
> Professor Laurence Marks
> Department of Materials Science and Engineering
> Northwestern University
> http://www.numis.northwestern.edu
> Corrosion in 4D http://MURI4D.numis.northwestern.edu
> Co-Editor, Acta Cryst A
> "Research is to see what everybody else has seen, and to think what nobody
> else has thought"
> Albert Szent-Gyorgi
> On Nov 11, 2015 00:36, "Peter Blaha" <pblaha at theochem.tuwien.ac.at> wrote:
>
>> The commands
>> srun hostname -s >slurm.hosts
>> set proclist=`cat slurm.hosts|sort`
>>
>> within a slurm-job give you a list of your hosts.
>>
>> Am 11.11.2015 um 01:04 schrieb Laurence Marks:
>> > Does anyone know the "machines" format for slurm? I want to expand
>> > Machines2W so it can use it (& I can use a slurm based system).
>> >
>> >
>> >
>> > _______________________________________________
>> > Wien mailing list
>> > Wien at zeus.theochem.tuwien.ac.at
>> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>> > SEARCH the MAILING-LIST at:
>> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>> >
>>
>> --
>> --------------------------------------------------------------------------
>> Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
>> Phone: +43-1-58801-165300 FAX: +43-1-58801-165982
>> Email: blaha at theochem.tuwien.ac.at WIEN2k: http://www.wien2k.at
>> WWW: http://www.imc.tuwien.ac.at/staff/tc_group_e.php
>> --------------------------------------------------------------------------
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>> SEARCH the MAILING-LIST at:
>> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>>
>
--
Professor Laurence Marks
Department of Materials Science and Engineering
Northwestern University
www.numis.northwestern.edu
Corrosion in 4D: www.numis.northwestern.edu/MURI
Co-Editor, Acta Cryst A
"Research is to see what everybody else has seen, and to think what nobody
else has thought"
Albert Szent-Gyorgi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20151111/bcb1933a/attachment.html>
More information about the Wien
mailing list