Le 06/11/15 à 08:57, David Groep téléscripta :
>Hi Baptiste,
Dear David,
>The solution there is to pin each job to a specific set of cores,
>corresponding to the CPUs actually allocated through torque.
>The script (by RonaldS) at
> https://wiki.nikhef.nl/grid/images/a/af/Mom-taskset.txt
>does that for you when installed as a prologue (by default in
>/var/spool/pbs/mom_priv/prologue, runs as root).
>Take care of the assumption stated at the top of the script: you
>should not 'oversubscribe' the cores on a WN, or jobs will be
>denied boarding ;-)
I am currently testing this script and it seems to works, thanks a lot,
we will see how it goes in production.
I still have to validate the behaviour with wholenode or multiple core
requirements, but at least for one job/one slot/one cpu it seems to work
perfectly.
I only had to do a minor modification of the script to make pbsnode be
called with the fqdn instead of the short name of the node.
Some information on this script is also available here:
https://wiki.nikhef.nl/grid/Various_local_tools .
Thanks.
> Cheers,
> DavidG.
Best,
Baptiste
--
Baptiste Grenier gnúbila France Software architect/developer
http://gnubila.fr Mobile: +33 786 341 687
|