Stuff

UoM::RCS::Talby::Danzek::SGE



Page Group

Basic Config:

Extra Stuff:

Applications:

Scripts Etc.







The CSF's Own Qstat

1. 

The Problem: Qstat Output on the CSF is Difficult to Interpret

It is not obvious, particularly since the CSF SGE configuration is complex: there are many different queues and PEs to support the many different types of compute node and application; some compute nodes host three (mutually-subordinate) queues.

2. 

Roll our own. . .

Since DRMAA v1 can be used to build qsub but not qstat, we build our own from scratch, using Perl. . .

It's quick-n-dirty — relies on the output of qconf and qstat, rather that an API, but that is ok: when DRMAA in SGE supports what we want, we will use it and while the Perl modules will change there is no reason for the script itself to do so.

3. 

Example Output and Annotation

4. 

Perl Module Wrappers for qstat and qconf

4.1. 

SGE_Qconf.pm

Source.


4.2. 

SGE_Qstat.pm

Source.

5. 

The Script Itself

The Model

The Code

Source.

6. 

Example Output

 prompt> csf-qstat --show-default

     .        .       .
     .        .       .
     .        .       .
 --------------------------------------------------------------------------------
 Job Type: Standard (4 GB/core)
     Details:              PE           Resource Flags       Slots Used

                     [serial]              interactive                0
      
     Cores total: 660, used: 0, available: 0       (Num empty nodes: 0)
      
                     [serial]                      --               110
      
     Cores total: 660, used: 110, available: 10    (Num empty nodes: 0)
      
                   orte-12.pe                      --                 0
                      orte.pe                      --               212
                       smp.pe                      --               305
                fluent-smp.pe                      --                19
                starccm-12.pe                      --                 0
                 hp-mpi-12.pe                      --                 0
                hp-mpi-smp.pe                      --                 0
      
     Cores total: 660, used: 536, available: 4     (Num empty nodes: 0)
      
 --------------------------------------------------------------------------------
 Job Type: Intel/IB (4 GB/core)
     Details:              PE           Resource Flags       Slots Used

                orte-12-ib.pe                      --               252
      
     Cores total: 252, used: 252, available: 0     (Num empty nodes: 0)
     .        .       .
     .        .       .
     .        .       .