Platform LSF Administration Guide Version 6.2

Creating Custom echkpnt and erestart for Application-level Checkpointing
Administering Platform LSF
398
% bsub -k "mydir method=myapp" job1
2
Copy your echkpnt.method_name and erestart.method_name to
LSF_SERVERDIR.
OR
If you want to specify a different directory than LSF_SERVERDIR, in
lsf.conf
or as an environment variable set LSB_ECHKPNT_METHOD_DIR= absolute
path to the directory in which your
echkpnt.method_name and
erestart.method_name are located.
The checkpoint method directory should be accessible by all users who need to run
the custom
echkpnt and erestart programs.
3
(Optional)
To save standard error and standard output messages for
echkpnt.
method_name and erestart.method_name set
LSB_ECHKPNT_KEEP_OUTPUT=y in
lsf.conf or as an environment
variable.
The
stdout and stderr output generated by echkpnt. method_name will be
redirected to:
checkpoint_dir/$LSB_JOBID/echkpnt.out
checkpoint_dir/$LSB_JOBID/echkpnt.err
The stdout and stderr output generated by erestart.method_name will
be redirected to:
checkpoint_dir/$LSB_JOBID/erestart.out
checkpoint_dir/$LSB_JOBID/erestart.err
Otherwise, if LSB_ECHKPNT_KEEP_OUTPUT is not defined, standard error
and output will be redirected to
/dev/null and discarded.