Hi Jeff,
here at CSCS we are using Moab instead of Maui and have limits on queues rather than groups.
Therefore I wanted to write our own vo_max_jobs_cmd but I'm not fully sure what output is expected.
Should it return the maximum number of jobs that a VO can run at any time or at the very moment the script runs?
The latter would be better for us because we could uses Moab's showbf command to determine the number
of job slots available at the moment:
Nov 04 14:47 [root@lrms01:~]# showbf -c atlas
Partition Tasks Nodes Duration StartOffset StartDate
--------- ----- ----- ------------ ------------ --------------
ALL 6 2 INFINITY 00:00:00 14:56:22_11/04
This would also take into account standing reservations and nodes that are down or offline.
Cheers,
Peter
--
Ing. Peter Oettl | CSCS Swiss National Supercomputing Centre
Systems Engineer | HPC Co-Location Services
Via Cantonale, Galleria 2 | CH-6928 Manno
[log in to unmask] | www.cscs.ch | Phone +41 91 610 82 34
|