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 30<br />

External Job Submission and Execution Controls<br />

Example<br />

LSB_ESUB_METHOD=dce<br />

(lsf.conf)<br />

esub.dce<br />

bsub -a fluent mesub esub<br />

esub.fluent<br />

In this example, esub.dce is defined as a mandatory esub, an esub already<br />

exists in <strong>LSF</strong>_SERVERDIR, and the job is submitted as a FLUENT job to use<br />

esub.fluent.<br />

Configuring master esub and your application-specific esub<br />

Naming your esub<br />

Existing esub<br />

The master esub is installed as <strong>LSF</strong>_SERVERDIR/mesub. After installation:<br />

1 Create your own application-specific esub.<br />

2 Optional. Configure LSB_ESUB_METHOD in lsf.conf to specify a<br />

mandatory esub for all job submissions.<br />

Use the following naming conventions:<br />

◆ On UNIX, <strong>LSF</strong>_SERVERDIR/esub.application<br />

For example, esub.fluent for FLUENT jobs<br />

◆<br />

On Windows, <strong>LSF</strong>_SERVERDIR\esub.application.[exe |bat]<br />

For example, esub.fluent.exe<br />

Your existing esub does not need to follow this convention and does not need to be<br />

renamed. However, since mesub invokes any esub that follows this convention, you<br />

should move any backup copies of your esubs out of <strong>LSF</strong>_SERVERDIR or choose a<br />

name that does not follow the convention (for example, use esub_bak instead of<br />

esub.bak).<br />

esub.user is<br />

reserved<br />

The name esub.user is reserved for backward compatibility. Do not use the<br />

name esub.user for your application-specific esub.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 387

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

Saved successfully!

Ooh no, something went wrong!