LSF Version 7.3 - Using Platform LSF HPC

Configuring LSF to Work with MPICH-GM
Configure GM port resources (optional)
If there are more processors on a node than there are available GM ports, you should
configure the external static resource name
gm_ports to limit the number of jobs that
can launch on that node.
Add the external static resource gm_ports in lsf.shared to keep track of the
number of free Myrinet ports available on a host:
Begin Resource
RESOURCENAME TYPE INTERVAL INCREASING RELEASE DESCRIPTION
...
gm_ports Numeric () N N (number of free myrinet ports)
...
End Resource
Edit the resource map in lsf.cluster.
cluster_name
to configure hosts in the
cluster able to collect
gm_ports. For example, the following configures 13 GM ports
available for GM 2.0 and 5 GM ports are available for mGM 1.x.
Begin ResourceMap
RESOURCENAME LOCATION
...
gm_ports 13@[default]
...
End ResourceMap
Configure the gm_ports resource as PER_SLOT in a ReservationUsage section in
lsb.resources:
Begin ReservationUsage
RESOURCE METHOD
...
gm_port PER_SLOT
...
End ReservationUsage
gmmpirun_wrapper script
Modify the gmmpirun_wrapper script in LSF_BINDIR so that the mpirun.ch_gm
command in the scripts point to:
MPIRUN_CMD="/path/mpirun.ch_gm"
where path is the path to the directory where the
mpirun.ch_gm command is stored.