Submit a job with resource requirements
Procedure
To specify a resource reservation
with a submission, use bsub -R and include
the resource usage section in the resource requirement (rusage) string.
For example:
bsub -R "rusage[tmp=30:duration=30:decay=1]" myjob
LSF reserves 30 MB of temp space for the job. As the job runs, the amount that is reserved will decrease at approximately 1 MB/minute such that the reserved amount is 0 after 30 minutes.
The resource reservation by default applies to each host and not the job level. The example above implies the job runs on a single host.
When a job runs on multiple hosts, the resource reservation applies to each host unless other LSF parameters are set, such as RESOURCE_RESERVE_PER_TASK.