12.07.2015 Views

Platform LSF Command Reference - SAS

Platform LSF Command Reference - SAS

Platform LSF Command Reference - SAS

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

tssubtssubsubmits a Terminal Services job to <strong>LSF</strong>Synopsistssub [bsub_options] command [arguments]tssub [-h | -V]DescriptionSubmits a Terminal Services job for batch execution and assigns it a unique numerical job ID.tssub is a wrapper around the bsub command that only submits jobs to hosts that have Microsoft Terminal Servicesinstalled. For bsub options, see the bsub command.You submit Terminal Services job with tssub instead of bsub. If the terminal window is closed, the job remainsrunning. You can reconnect to view the job with tspeek.tssub is supported on Windows and Linux. You cannot use tssub to submit Terminal Services jobs from UNIX.If the job is dispatched to a host in which Terminal Services is not installed or properly configured, the job is set to thePEND state and a pending reason is written in sbatchd.log.host_name.If tssub -I is specified, a terminal display is visible on the submission host after the job has been started.If the job is not a GUI job, <strong>LSF</strong> runs a command window and output is displayed in the command window whensomething is written to stdout.Pre- and post-execution commands are executed within the terminal session. The job does not complete until postexecutioncommands complete.If you use bjobs -l to monitor the job, you see a message similar to “External Message 2 was posted from<strong>LSF</strong>\lsfadmin to message box 2”. The body of the message contains the ID of the terminal session that wascreated.Use tspeek to view job output.tssub sets the LSB_TSJOB and <strong>LSF</strong>_LOGON_DESKTOP environment variables. These variables are then transferredto the execution host:<strong>LSF</strong>_LOGON_DESKTOPLSB_TSJOBLimitationsWhen <strong>LSF</strong>_LOGON_DESKTOP=1, jobs run in interactive foreground sessions. Thisallows GUIs to be displayed on the execution host. If this parameter is not defined,jobs run in the background.When the LSB_TSJOB variable is defined to any value, it indicates to <strong>LSF</strong> that the jobis a Terminal Services job.• You cannot use bmod to modify a job submitted as a Terminal Services job to become a non-Terminal Services job• The bsub option -o out_file is not supported for tssub• Only Windows bsub options are supported for tssub. For example, you cannot use the options -Ip, -Is, -Llogin_shell of bsub with tssub.348 <strong>Platform</strong> <strong>LSF</strong> <strong>Command</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!