Maui can be used as an external scheduler for the
Sun Grid Engine (SGE) resource management system (requires SGE v5.3 source distribution). In this configuration, SGE manages the job queue and the compute resources while Maui queries the SGE Server to obtain up to date job, node, and configuration information. Using this information, Maui directs SGE to manage jobs in accordance with specified Maui policies, priorities, and reservations.
Maui drives SGE via the SGE scheduling API. To enable Maui scheduling, the following steps must be taken:
1) Install SGE
- untar Maui distribution
- cd into the maui-<X> directory
- run ./configure
The configure script will automatically setup Maui so that the user running configure will become the default Primary Maui Administrator, $MAUIADMIN. This can be changed by modifying the 'ADMIN <USERNAME>' line in the maui.cfg file. The primary administrator is the first user listed after the ADMIN1 parameter and is the ID under which the Maui daemon will run.
All jobs submitted to Maui must be assigned a PE. Jobs without an assigned PE will have a batch hold placed upon them.
- specify SGE as the resource manager:
This should be taken care of by 'configure', but if not, the following parameter must be specified in the maui.cfg file:
If you have a non-standard SGE configuration, you may need to specify additional Maui parameters to point Maui to the right location:
(See the Resource Manager Overview for more information)