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.

subNote:The file path of the checkpoint directory can contain up to4000 characters for UNIX and Linux, or up to 255 charactersfor Windows, including the directory and file name.-L login_shellWhen a job is checkpointed, the checkpoint information is stored in checkpoint_dir/job_ID/file_name. Multiple jobs can checkpoint into the same directory. The systemcan create multiple files.The checkpoint directory is used for restarting the job (see brestart(1)). Thecheckpoint directory can be any valid path.Optionally, specifies a checkpoint period in minutes. Specify a positive integer. Therunning job is checkpointed automatically every checkpoint period. The checkpointperiod can be changed using bchkpnt. Because checkpointing is a heavyweightoperation, you should choose a checkpoint period greater than half an hour.Optionally, specifies an initial checkpoint period in minutes. Specify a positive integer.The first checkpoint does not happen until the initial period has elapsed. After the firstcheckpoint, the job checkpoint frequency is controlled by the normal job checkpointinterval.Optionally, specifies a custom checkpoint and restart method to use with the job. Usemethod=default to indicate to use the default <strong>LSF</strong> checkpoint and restart programsfor the job, echkpnt.default and erestart.default.The echkpnt.method_name and erestart.method_name programs must be in<strong>LSF</strong>_SERVERDIR or in the directory specified by LSB_ECHKPNT_METHOD_DIR(environment variable or set in lsf.conf).If a custom checkpoint and restart method is already specified withLSB_ECHKPNT_METHOD (environment variable or in lsf.conf), the method youspecify with bsub -k overrides this.Process checkpointing is not available on all host types, and may require linkingprograms with a special libraries (see libckpt.a(3)). <strong>LSF</strong> invokes echkpnt (seeechkpnt(8)) found in <strong>LSF</strong>_SERVERDIR to checkpoint the job. You can override thedefault echkpnt for the job by defining as environment variables or in lsf.confLSB_ECHKPNT_METHOD and LSB_ECHKPNT_METHOD_DIR to point to yourown echkpnt. This allows you to use other checkpointing facilities, includingapplication-level checkpointing.The checkpoint method directory should be accessible by all users who need to runthe custom echkpnt and erestart programs.Only running members of a chunk job can be checkpointed.Initializes the execution environment using the specified login shell. The specifiedlogin shell must be an absolute path. This is not necessarily the shell under which thejob is executed.<strong>Platform</strong> <strong>LSF</strong> <strong>Command</strong> <strong>Reference</strong> 221

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

Saved successfully!

Ooh no, something went wrong!