Using and Administering

Filtering a Job Script

You can write a program to filter a job script when the job is submitted. This program can, for example, modify defaults or perform site specific verification of parameters. To invoke the program, specify the following keyword in your configuration file:

SUBMIT_FILTER = myprog
where myprog is called with the job file as the standard input. The standard output is submitted to LoadLeveler. If the program returns with a non-zero exit code, the job submission is cancelled.

The following environment variables are set when the program is invoked:

LOADL_ACTIVE
LoadLeveler version
LOADL_STEP_COMMAND
Job command file name
LOADL_STEP_ID
The job identifier, generated by LoadLeveler
LOADL_STEP_OWNER
The owner (UNIX user name) of the job


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]