25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 30<br />

External Job Submission and Execution Controls<br />

Option<br />

Description<br />

LSB_SUB_TERM_TIME Termination time, in seconds, since 00:00:00 GMT, Jan. 1, 1970<br />

LSB_SUB_TIME_EVENT<br />

Time event expression<br />

LSB_SUB_USER_GROUP<br />

User group name<br />

LSB_SUB_WINDOW_SIG<br />

Window signal number<br />

LSB_SUB2_JOB_GROUP Options specified by bsub -g<br />

LSB_SUB2_SLA<br />

SLA scheduling options<br />

Example submission parameter file<br />

If a user submits the following job:<br />

% bsub -q normal -x -P my_project -R “r1m rusage[dummy=1]” -n 90 sleep 10<br />

The contents of the LSB_SUB_PARM_FILE will be:<br />

LSB_SUB_QUEUE="normal"<br />

LSB_SUB_EXCLUSIVE=Y<br />

LSB_SUB_RES_REQ="r1m rusage[dummy=1]"<br />

LSB_SUB_PROJECT_NAME="my_project"<br />

LSB_SUB_COMMAND_LINE="sleep 10"<br />

LSB_SUB_NUM_PROCESSORS=90<br />

LSB_SUB_MAX_NUM_PROCESSORS=90<br />

LSB_SUB_ABORT_VALUE<br />

This variable indicates the value esub should exit with if <strong>LSF</strong> is to reject the<br />

job submission.<br />

LSB_SUB_MODIFY_ENVFILE<br />

The file in which esub should write any changes to the job environment<br />

variables.<br />

esub writes the variables to be modified to this file in the same format used in<br />

LSB_SUB_PARM_FILE. The order of the variables does not matter.<br />

After esub runs, <strong>LSF</strong> checks LSB_SUB_MODIFY_ENVFILE for changes and if<br />

found, <strong>LSF</strong> will apply them to the job environment variables.<br />

LSB_SUB_MODIFY_FILE<br />

The file in which esub should write any submission parameter changes.<br />

esub writes the job options to be modified to this file in the same format used<br />

in LSB_SUB_PARM_FILE. The order of the options does not matter. After esub<br />

runs, <strong>LSF</strong> checks LSB_SUB_MODIFY_FILE for changes and if found <strong>LSF</strong> will<br />

apply them to the job.<br />

LSB_SUB_ADDITIONAL cannot be changed in or added to LSB_SUB_MODIFY_FILE.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 383

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!