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.

Interactive Tasks<br />

Shared files and user IDs<br />

When <strong>LSF</strong> runs a task on a remote host, the task uses standard UNIX system<br />

calls to access files and devices. The user must have an account on the remote<br />

host. All operations on the remote host are done with the user’s access<br />

permissions.<br />

Tasks that read and write files access the files on the remote host. For load<br />

sharing to be transparent, your files should be available on all hosts in the<br />

cluster using a file sharing mechanism such as NFS or AFS. When your files are<br />

available on all hosts in the cluster, you can run your tasks on any host without<br />

worrying about how your task will access files.<br />

<strong>LSF</strong> can operate correctly in cases where these conditions are not met, but the<br />

results may not be what you expect. For example, the /tmp directory is usually<br />

private on each host. If you copy a file into /tmp on a remote host, you can<br />

only read that file on the same remote host.<br />

<strong>LSF</strong> can also be used when files are not available on all hosts. <strong>LSF</strong> provides the<br />

lsrcp command to copy files across <strong>LSF</strong> hosts. You can use pipes to redirect<br />

the standard input and output of remote commands, or write scripts to copy<br />

the data files to the execution host.<br />

Shell mode for remote execution<br />

On UNIX, shell mode support is provided for running interactive applications<br />

through RES.<br />

Not supported for Windows.<br />

Shell mode support is required for running interactive shells or applications<br />

that redefine the CTRL-C and CTRL-Z keys (for example, jove).<br />

The -S option of lsrun, ch or lsgrun creates the remote task with shell mode<br />

support. The default is not to enable shell mode support.<br />

Run windows<br />

Some run windows are only applicable to batch jobs. Interactive jobs<br />

scheduled by LIM are controlled by another set of run windows.<br />

420<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!