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.

sub-oo output_file-P project_nameIf you use -o without -N, the job report is stored in the output file as the file header.If you use both -o and -N, the output is stored in the output file and the job report issent by mail. The job report itself does not contain the output, but the report advisesyou where to find your output.Specify a file path. Overwrites the standard output of the job to the specified file if itexists, or sends the output to a new file if it does not exist. Sends the output by mail ifthe system has trouble writing to the file.If only a file name is specified, <strong>LSF</strong> writes the output file to the current workingdirectory. If the current working directory is not accessible on the execution host afterthe job starts, <strong>LSF</strong> writes the standard output file to /tmp/.If the specified output_file path is not accessible, the output will not be stored.If you use the special character %J in the name of the output file, then %J is replacedby the job ID of the job. If you use the special character %I in the name of the outputfile, then %I is replaced by the index of the job in the array, if the job is a member ofan array. Otherwise, %I is replaced by 0 (zero).Note:The file path can contain up to 4094 characters for UNIX andLinux, or up to 255 characters for Windows, including thedirectory, file name, and expanded values for %J (job_ID)and %I (index_ID).If the parameter LSB_STDOUT_DIRECT in lsf.conf is set to Y or y, the standardoutput of a job overwrites the output file you specify as the job runs, which occursevery time the job is submitted with the overwrite option, even if it is requeuedmanually or by the system. If LSB_STDOUT_DIRECT is not set, the output is writtento a temporary file that overwrites the specified file after the job finishes.LSB_STDOUT_DIRECT is not supported on Windows.If you use -oo without -e or -eo, the standard error of the job is stored in the outputfile.If you use -oo without -N, the job report is stored in the output file as the file header.If you use both -oo and -N, the output is stored in the output file and the job report issent by mail. The job report itself does not contain the output, but the report advisesyou where to find your output.Assigns the job to the specified project.On IRIX 6, you must be a member of the project as listed in /etc/project(4). If youare a member of the project, then /etc/projid(4) maps the project name to a numericproject ID. Before the submitted job executes, a new array session (newarraysess(2))is created and the project ID is assigned to it using setprid(2).226 <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!