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.

Understanding External Executables<br />

Understanding External Executables<br />

About esub and eexec<br />

Validate, modify,<br />

or reject a job<br />

Modifying<br />

execution<br />

environments<br />

Passing data<br />

<strong>LSF</strong> provides the ability to validate, modify, or reject job submissions, modify<br />

execution environments, and pass data from the submission host directly to the<br />

execution host through the use of the esub and eexec executables. Both are<br />

site-specific and user written and must be located in <strong>LSF</strong>_SERVERDIR.<br />

To validate, modify, or reject a job, an esub needs to be written. See “Using<br />

esub” on page 381<br />

To modify the execution environment on the execution host, an eexec needs<br />

to be written. See “Working with eexec” on page 388<br />

To pass data directly to the execution host, an esub and eexec need to be<br />

written. See “Using esub and eexec to pass data to execution environments”<br />

on page 388<br />

Interactive remote execution<br />

Interactive remote execution also runs esub and eexec if they are found in<br />

<strong>LSF</strong>_SERVERDIR. For example, lsrun invokes esub, and RES runs eexec<br />

before starting the task. esub is invoked at the time of the ls_connect(3) call,<br />

and RES invokes eexec each time a remote task is executed. RES runs eexec<br />

only at task startup time.<br />

DCE credentials and AFS tokens<br />

esub and eexec are also used for processing DCE credentials and AFS tokens.<br />

See the following documents on the <strong>Platform</strong> Web site for more information:<br />

◆ “Installing <strong>LSF</strong> on AFS”<br />

◆ “Installing <strong>LSF</strong> on DCE/DFS”<br />

380<br />

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

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

Saved successfully!

Ooh no, something went wrong!