Enable per-slot memory reservation

About this task

By default, memory is reserved for parallel jobs on a per-host basis. For example, by default, the command:
bsub -n 4 -R "rusage[mem=500]" -q reservation myjob

requires the job to reserve 500 MB on each host where the job runs.

Procedure

To enable per-slot memory reservation, define RESOURCE_RESERVE_PER_SLOT=y in lsb.params. In this example, if per-slot reservation is enabled, the job must reserve 500 MB of memory for each job slot (4 * 500 = 2 GB) on the host in order to run.