Enabling per-task 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-task memory reservation, define RESOURCE_RESERVE_PER_TASK=y in lsb.params. In this example, if per-task reservation is enabled, the job must reserve 500 MB of memory for each task (4 * 500 = 2 GB) on the host in order to run.