Difference between revisions of "GPC MPI Versions"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
OpenMPI has been build to support various communication methods and automatically use the best method | OpenMPI has been build to support various communication methods and automatically use the best method | ||
− | depending on how and where it is run. To explicitly specify the method you can use the following | + | depending on how and where it is run. To explicitly specify the method you can use the following <tt>--mca</tt> |
flags on ethernet | flags on ethernet | ||
Revision as of 12:24, 24 September 2009
OpenMPI
To use OpenMPI compiled with intel load the module
module load openmpi intel
or for the gcc version use
module load openmpi/1.3.3-gcc-v4.4.0-ofed gcc
OpenMPI has been build to support various communication methods and automatically use the best method depending on how and where it is run. To explicitly specify the method you can use the following --mca flags on ethernet
mpirun --mca btl self,sm,tcp -np 16 -hostfile $PBS_NODEFILE ./a.out
and the following for infiniband
mpirun --mca btl self,sm,openib -np 16 -hostfile $PBS_NODEFILE ./a.out
For more information on available flags see the OpenMPI FAQ
MVAPICH2