[torqueusers] Allocating nodes to queues
Jacques Foury
Jacques.Foury at math.u-bordeaux1.fr
Mon Apr 10 07:36:03 MDT 2006
Haavard Bjerke a écrit :
> Is it possible to allocate different sets of nodes to different
> execution queues with Torque, Maui or Moab?
>
> Any help would be appreciated.
>
This topic should definitely be put in a FAQ... as it is asked 3 or 4
times a year.
Here is the method I use there :
- colorize the nodes, ie in the server_priv/nodes file of Torque, put
attributes like that :
callas01 np=2 opteron
callas02 np=2 opteron
abeille01 np=2 xeon
abeille02 np=2 xeon
- then use the color in the queues :
set queue intel resources_default.nodes = 1:xeon
set queue intel resources_default.neednodes = xeon
set queue amd resources_default.neednodes = callas
set queue amd resources_default.nodes = 1:callas
- finally for MAUI to take it in account, put the 2 lines in maui.cfg :
CLASSCFG[opteron]
CLASSCFG[xeon]
Then when you submit jobs use the queues "intel" for xeon nodes and
"amd" for opteron nodes.
Please note that if you force the start of a job waiting for a color to
be free, it can start on the other color nodes...
--
Jacques Foury
Ingénieur d'études
Laboratoire de Mathématiques Appliquées de Bordeaux
Université Bordeaux 1
More information about the torqueusers
mailing list