RESOURCE_RESERVE_PER_TASK

Syntax

RESOURCE_RESERVE_PER_TASK=Y| y|N|n

If set to Y, mbatchd reserves resources based on job tasks instead of per-host.

By default, mbatchd only reserves resources for parallel jobs on a per-host basis. For example, by default, the command:
bsub -n 4 -R "rusage[mem=500]" -q reservation my_job

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

Some parallel jobs need to reserve resources based on job tasks, rather than by host. In this example, if per-task reservation is enabled by RESOURCE_RESERVE_PER_TASK, the job my_job must reserve 500 MB of memory for each job task (4*500=2 GB) on the host in order to run.

If RESOURCE_RESERVE_PER_TASK is set, the following command reserves the resource my_resource for all 4 job tasks instead of only 1 on the host where the job runs:
bsub -n 4 -R "my_resource > 0 rusage[my_resource=1]" myjob

Default

N (Not defined; reserve resources per-host.)