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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

subfile in the directory specified by the JOB_SPOOL_DIR parameter in lsb.params, oryour $HOME/.lsbatch directory on the execution host. <strong>LSF</strong> removes this file when thejob completes.By default, the input file is spooled to LSB_SHAREDIR/cluster_name/lsf_indir. If thelsf_indir directory does not exist, <strong>LSF</strong> creates it before spooling the file. <strong>LSF</strong> removesthe spooled file when the job completes. Use the -is option if you need to modify orremove the input file before the job completes. Removing or modifying the originalinput file does not affect the submitted job.If JOB_SPOOL_DIR is specified, the -is option spools the input file to the specifieddirectory and uses the spooled file as the input file for the job.JOB_SPOOL_DIR can be any valid path up to a maximum length up to 4094 characterson UNIX and Linux or up to 255 characters for Windows.JOB_SPOOL_DIR must be readable and writable by the job submission user, and itmust be shared by the master host and the submission host. If the specified directoryis not accessible or does not exist, bsub -is cannot write to the default directoryLSB_SHAREDIR/cluster_name/lsf_indir and the job fails.-J job_name | -J "job_name[index_list]%job_slot_limit"Assigns the specified name to the job, and, for job arrays, specifies the indices of thejob array and optionally the maximum number of jobs that can run at any given time.The job name does not need to be unique.Job names can contain up to 4094 characters.To specify a job array, enclose the index list in square brackets, as shown, and enclosethe entire job array specification in quotation marks, as shown. The index list is acomma-separated list whose elements have the syntax [start-end[:step]] where start,end and step are positive integers. If the step is omitted, a step of one is assumed. Bydefault, the job array index starts at one.By default, the maximum number of jobs in a job array is 1000, which means themaximum size of a job array (that is, the maximum job array index) can never exceed1000 jobs.To change the maximum job array value, set MAX_JOB_ARRAY_SIZE inlsb.params to any positive integer between 1 and 2147483646. The maximum numberof jobs in a job array cannot exceed the value set by MAX_JOB_ARRAY_SIZE.You may also use a positive integer to specify the system-wide job slot limit (themaximum number of jobs that can run at any given time) for this job array.All jobs in the array share the same job ID and parameters. Each element of the arrayis distinguished by its array index.After a job is submitted, you use the job name to identify the job. Specify "job_ID[index]" to work with elements of a particular array. Specify "job_name[index]" to workwith elements of all arrays with the same name. Since job names are not unique,multiple job arrays may have the same name with a different or same set of indices.<strong>Platform</strong> <strong>LSF</strong> <strong>Command</strong> <strong>Reference</strong> 219

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

Saved successfully!

Ooh no, something went wrong!