Difference between revisions of "GPC MPI Versions"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<pre> | <pre> | ||
− | mpirun --mca btl self,sm,tcp | + | mpirun --mca btl self,sm,tcp -np 16 -hostfile $PBS_NODEFILE ./a.out |
+ | |||
</pre> | </pre> | ||
Line 24: | Line 25: | ||
<pre> | <pre> | ||
− | mpirun --mca btl self,sm,openib | + | mpirun --mca btl self,sm,openib -np 16 -hostfile $PBS_NODEFILE ./a.out |
</pre> | </pre> | ||
For more information on available flags see the OpenMPI [http://www.open-mpi.org/faq/ FAQ] | For more information on available flags see the OpenMPI [http://www.open-mpi.org/faq/ FAQ] | ||
− | |||
− | |||
=== MVAPICH2 === | === MVAPICH2 === |
Revision as of 12:23, 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 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