![](/images/backgrounds/285892/hp-xc-system-2-x-software-users-manual-156197109x1.png)
Table
srun Option | Description | LSF Equivalent |
Run a job step relative to node n of | Use when launching parallel tasks. | |
| the current allocation. It is about |
|
| placing tasks within allocation. |
|
Specify working directory of job. |
Job will be started in job submission directory by default.
Do not automatically terminate a | |
| job if one of the nodes it has been |
| allocated fails. |
srun uses nthreads to initiate and | |
| control the parallel job. |
When creating allocation, LSF does not use the
Use when launching parallel tasks.
Prepend task number to lines of | |
| stdout/stderr. |
Do not line buffer stdout from | |
| remote tasks. |
Use when launching parallel tasks.
Use when launching parallel tasks.
Distribution method for remote | |
tion=blockcyclic | processes. |
Identify the type of MPI to be used. | |
Initiate a job step under an already | |
| allocated job id. |
Verbose operation. | |
A debug level for slurmd. | |
How long to wait after the first task | |
| terminates before terminating all |
| remaining tasks. |
Use when launching parallel tasks.
Use when launching parallel tasks.
Do not use it. SLURM_JOBID is set in job environment to associate job with slurm allocation.
Use when launching parallel tasks.
Use when launching parallel tasks.
Use when launching parallel tasks.
Quit immediately on single SIGINT. | Meaningless under LSF. | |
Suppress informational message. | Use it when launching parallel tasks. | |
Adjust corefile format for parallel | Use it when launching parallel tasks. | |
| job. |
|
Attach srun to a running job. | Meaningless under LSF. | |
Join with running job. | Meaningless under LSF. | |
Steal connection to running job. | Meaningless under LSF. | |
|
|
|
Using LSF