Once you submit a job, you can query the status of the job to determine, for example, if it is still in the queue or if it is running. You also receive other job status related information such as the job ID and job owner. You can query the status of a LoadLeveler job either by using the GUI or the llq command. For an example of querying the status of a job, see Step 4: Display the Status of a Job.
Querying the Status of a Job Running on an NQS Machine: If your job command file was routed to an NQS machine for processing, you can obtain its status by using either the GUI or the llq command. Keep in mind that a machine in the LoadLeveler cluster monitors the NQS machine where your job is running. The status you see on the GUI (or from llq) is generated by the machine in the LoadLeveler cluster. Since LoadLeveler only checks the NQS machine for status periodically, the status of the job on the NQS machine may change before LoadLeveler has an opportunity to update the GUI. If this happens, NQS will notify you, before LoadLeveler notifies you, regarding the status of the job.
Querying the Status of a Job Using a Submit-Only Machine: A submit-only machine, in addition to allowing you to submit and cancel jobs, allows you to query the status of jobs. You can query a job using either the submit-only version of the GUI or by using the llq command. For information on llq, see llq - Query Job Status.
This section applies only to those installations having more than one LoadLeveler cluster.
Using the LOADL_CONFIG environment variable, you can query, submit, or cancel jobs in multiple LoadLeveler clusters. The LOADL_CONFIG environment variable allows you to specify that the master configuration file be located in a directory other than the home directory of the loadl user ID. The file that LOADL_CONFIG points to must be in the /etc directory.
You need to set up your own master configuration file to point to the location of the LoadLeveler user ID, group ID, and configuration files. By default, the location of the master file is /etc/LoadL.cfg.
The following example explains how you can set up a machine to query multiple clusters:
You can configure /etc/LoadL.cfg to point to the "default" configuration files, and you can configure /etc/othercluster.cfg to point to the configuration files of another cluster which the user can select.
For example, you can enter the following query command:
$ llq
The above command uses the configuration from /etc/LoadL.cfg (this is determined by the LOADL_CONFIG environment variable). To send a query to the scheduler defined in the configuration file of /etc/othercluster.cfg, enter:
$ env LOADL_CONFIG=/etc/othercluster.cfg llq
Note that the machine from which you issue the llq command is considered as a submit-only machine by the other cluster.