LSF Version 7.3 - Using Platform LSF HPC

and lsgrun unless the user is either an LSF administrator or root. LSF_ROOT_REX
must be defined for remote execution by root. Other remote execution commands, such
as
ch and lsmake are not affected.
By default, LSF creates a temporary directory for a job only on the first execution host.
If LSF_TMPDIR is set in
lsf.conf, the path of the job temporary directory on the
first execution host is set to
LSF_TMPDIR/
job_ID
.tmpdir.
If LSB_SET_TMPDIR= Y, the environment variable TMPDIR will be set equal to the
path specified by LSF_TMPDIR. This value for TMPDIR overrides any value that
might be set in the submission environment.
Tasks launched through the
blaunch distributed application framework make use of
the LSF temporary directory specified by LSF_TMPDIR:
When the environment variable TMPDIR is set on the first execution host, the
blaunch framework propagates this environment variable to all execution hosts
when launching remote tasks
The job RES or the task RES creates the directory specified by TMPDIR if it does
not already exist before starting the job
The directory created by the job RES or task RES has permission 0700 and is owned
by the execution user
If the TMPDIR directory was created by the task RES, LSF deletes the temporary
directory and its contents when the task is complete
If the TMPDIR directory was created by the job RES, LSF will delete the temporary
directory and its contents when the job is done
If the TMPDIR directory is on a shared file system, it is assumed to be shared by all
the hosts allocated to the
blaunch job, so LSF does not remove TMPDIR
directories created by the job RES or task RES
Automatic generation of the job host file
LSF automatically places the allocated hosts for a job into the $LSB_HOSTS and
$LSB_MCPU_HOSTS environment variables. Since most MPI implementations and
parallel applications expect to read the allocated hosts from a file, LSF creates a host file
in the the default job output directory
$HOME/.lsbatch on the execution host before
the job runs, and deletes it after the job has finished running. The name of the host file
created has the format:
.lsb.<
jobID
>.hostfile
The host file contains one host per line. For example, if LSB_MCPU_HOSTS="hostA
2 hostB 2 hostC 1"
, the host file contains:
hostA
hostA
hostB
hostB
hostC
LSF publishes the full path to the host file by setting the environment variable
LSB_DJOB_HOSTFILE.