Note:
If you exported any variables, such as SLURM_JOBID and SLURM_NPROCS, be sure to unset them as follows before submitting any further jobs from the second terminal:
$ unset SLURM_JOBID
$ unset SLURM_NPROCS
You do not need to launch the /bin/bash shell to be able to interact with any compute node resources; any running job will suffice. This is excellent for checking on
$ srun
If you are concerned about allocating the resources too long or leaving them allocated long after you finished using them, you could submit a simple sleep job to limit the allocation time, as follows:
$ bsub
After you confirm that this job is running using the bjobs
10.14 LSF Equivalents of SLURM srun Options
Tablesrun Option | Description | LSF Equivalent |
Number of processes (tasks) to run. | bsub | |
|
| |
|
|
|
Specifies the number of cores per task. | HP XC does not provide this option because | |
Min processors per node = | the meaning of this option can be covered by | |
| MAX(ncpus, mincpus) | bsub |
Specifies the minimum and, optionally, | ||
maximum number of nodes allocated | where minmax is | |
| to job. The job allocation will contain |
|
| at least the minimum number of nodes. |
|
|
|
|
Specifies the minimum number of | ||
| cores per node. Min processors per |
|
| node = |
|
| Default value is 1. |
|
|
|
|
Specifies a minimum amount of real | ||
| memory of each node. By default, job |
|
| does not require |
|
|
|
|
Specifies a minimum amount of | ||
| temporary disk space of each node. By |
|
| default, job does not require |
|
Specifies a list of constraints. The list
separated by the & character (meaning ANDed) or the (meaning ORed). By default, job does not require
10.14 LSF Equivalents of SLURM srun Options 103