Platform LSF Reference Version 6.2
Environment Variables
Platform LSF Reference
283
LSB_REMOTEINDEX
Syntax
LSB_REMOTEINDEX=index
Description
The job array index of a remote MultiCluster job. LSB_REMOTEINDEX is set only if
the job is an element of a job array.
Valid values
Any integer greater than zero, but less than the maximum job array size
Where defined
Set by sbatchd
See also
LSB_JOBINDEX, “MAX_JOB_ARRAY_SIZE” on page 385 in “lsb.params”
LSB_REMOTEJID
Syntax
LSB_REMOTEJID=job_ID
Description
The job ID of a remote MultiCluster job.
Where defined
Set by sbatchd, defined by mbatchd
See also
LSB_JOBID
LSB_RESTART
Syntax
LSB_RESTART=Y
Description
Indicates that a job has been restarted or migrated.
Valid values
Set to Y if the job has been restarted or migrated; otherwise, it is undefined.
Notes
If a batch job is submitted with the -r option of bsub, and is restarted because of host
failure, then LSB_RESTART is set to Y. If a checkpointable job is submitted with the
-
k
option of bsub, then LSB_RESTART is set to Y when the job is restarted. If bmig
is used to migrate a job, then LSB_RESTART is set to Y when the migrated job is
restarted.
If the job is not a restarted job, then LSB_RESTART is not set.
Where defined
Set by sbatchd during job execution
See also
LSB_RESTART_PGID, LSB_RESTART_PID
LSB_RESTART_PGID
Syntax
LSB_RESTART_PGID=pgid
Description
The process group ID of the checkpointed job when the job is restarted.
Notes
When a checkpointed job is restarted, the operating system assigns a new group process
ID to the job. Batch sets LSB_RESTART_PGID to the new group process ID.
Where defined
Set by Batch during restart of a checkpointed job.
See also
LSB_RESTART_PID, LSB_RESTART
LSB_RESTART_PID
Syntax
LSB_RESTART_PID=pid
Description
The process ID of the checkpointed job when the job is restarted.