Hi Jeff,
First of all you didn't provide a queue name, try:
showbf -c atlas
if you have a queue named atlas.
I was talking to Lukasz from Cyfronet to see if the command works similar on Maui and if it does support the xml output.
He told me the xml output is not available in Maui 3.3. Also the output depends a lot on your setup of Maui. In his case the output
would look like this:
showbf -c atlas
backfill window (user: 'root' group: 'root' partition: ALL) Tue Nov 9 16:00:29
49 procs available for 00:00:01
48 procs available for 1:00:00
34 procs available for 9:57:39
33 procs available for 10:19:48
32 procs available for 10:19:49
31 procs available for 10:30:31
30 procs available for 1:00:54:49
29 procs available for 2:22:43:16
27 procs available for 2:23:39:19
3 procs available for 2:23:54:49
They are using MPI and backfill thats why it tells you how many procs for how much time is available.
At CSCS we don't use backfill nor MPI and the output looks like this:
Nov 10 11:41 [root@lrms02:~]# showbf -c atlas
Partition Tasks Nodes Duration StartOffset StartDate
--------- ----- ----- ------------ ------------ --------------
ALL 6 2 INFINITY 00:00:00 13:09:22_11/10
So it depends a lot on the setup of a site and their queues. For example we have a queue lcgadmin where
the reserved job slots are only accessible for certain users (sgm users in that case):
Nov 10 13:18 [root@lrms02:~]# showbf -c lcgadmin
Partition Tasks Nodes Duration StartOffset StartDate
--------- ----- ----- ------------ ------------ --------------
ALL 8 4 INFINITY 00:00:00 13:17:46_11/10
Nov 10 13:18 [root@lrms02:~]# showbf -c lcgadmin -u cmssgm
Partition Tasks Nodes Duration StartOffset StartDate
--------- ----- ----- ------------ ------------ --------------
ALL 93 93 INFINITY 00:00:00 13:17:43_11/10
So a general solution for that is probably not possible but I think it would be great if you could at least provide an interface for that.
Sites then can provide a script that calculates the number of free slots which would be more accurate then the current algorithm in place.
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
On Nov 10, 2010, at 12:49 PM, Jeff Templon wrote:
> Hi Peter,
>
>> I can provide the script that uses "showbf -c <queuname>" to figure out how many free job slots there are for each queue. I need to change it to take the configuration from the static ldif file instead of the voqueuemap I use.
>> My current version is parsing the text output of Moab but I could also parse the xml output (--xml option) instead. I don't know if Maui supports that option though. If it is it is probably
>> safer and more compatible between Moab and Maui. In any case somebody would need to provide me the output (text and/or xml) for Maui.
>
> I tried the command here:
>
> stro:~> showbf -c
> no procs available
>
> this it says, even if there are free slots in the system ...
>
> stro:~> showbf --xml
> no procs available
>
>
> Looked suspicious, so i tried:
>
> stro:~> showbf --xacml
> no procs available
>
>
> stro:~> showbf --fortran90
> no procs available
>
>
> Pretty nice command huh?
>
> J "I didn't try C++" T
|