25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 29<br />

Job Starters<br />

%USRCMD string<br />

For more<br />

information<br />

The special string %USRCMD indicates the position of the job starter command<br />

in the job command line. By default, the user commands run after the job<br />

starter, so the %USRCMD string is not usually required. For example, these two<br />

job starters both give the same results:<br />

JOB_STARTER = /bin/csh -c<br />

JOB_STARTER = /bin/csh -c %USRCMD<br />

You can also enclose the %USRCMD string in quotes or follow it with additional<br />

commands. For example:<br />

JOB_STARTER = /bin/csh -c "%USRCMD;sleep 10"<br />

If a user submits the following job to the queue with this job starter:<br />

% bsub myjob arguments<br />

the command that actually runs is:<br />

% /bin/csh -c "myjob arguments; sleep 10"<br />

See the <strong>Platform</strong> <strong>LSF</strong> Reference for information about the JOB_STARTER<br />

parameter in the lsb.queues file.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 377

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

Saved successfully!

Ooh no, something went wrong!