Usage
Example usage:
$ module load mpi/mpich/3.1.4 $ mpicc program.c -o program $ bsub ... mpiexec.hydra ./program
Note on mpiexec.hydra
: mpirun
and mpiexec
are present, too. mpirun
and mpiexec
are soft links pointing to mpiexec.hydra
.
Attention
We do offer modules for MPICH. However, these do not offer Infiniband support and Mogon I does use Infiniband for high-speed communication.
Therefore, in this order:
- If possible use MVAPICH2. It has a very similar interface and implementation.
- If possible confine the program to one node.
- If it is still required to use MPICH, to span across nodes, supply a so-called
hostfile
to indicate at least using TCP over ib (assuming a wrapper skript written in bash, which is submitted withbsub
-command):
touch hostfile for host in $LSB_HOSTS; do echo ${host}-ib >> hostfile; done ... mpiexec.hydra -f hostfile ...