Note: FAQ Database is still being populated.
FAQs/Howto / MVAPICH2 |
How do I compile a program to use InfiniBand?
Association: MVAPICH2 - Posted on: 2009-04-29
Access to InfiniBand networks is provided by the MPI software MVAPICH2.
Set the MPI implementation to MVAPICH by typing
mpi-selector-menu
Changes to the path and library environment variables will not take place until you login to a new shell. The following types of compilers are available.
mpicc -> C compiler/linker
mpicxx -> C++ compiler/linker
mpif77 -> Fortran 77 compiler/linker
mpif90 -> Fortran 90 compiler/linker
Each of the compilers will link automatically with the correct MPI libraries to create a static executable. Additional libraries must be specified on the command line.
Are MPI jobs launched in the same way with MVAPICH as with MPICH?
Association: MVAPICH2 - Posted on: 2009-04-27
MVAPICH2 has a legacy method, which is compatible with the MPICH2 syntax.
You can run jobs as
mpirun -machinefile $PBS_NODEFILE -np (num procs) executable
The launching of these jobs relies on the same mpd process from MPICH2. MVAPICH2 also provides a new method for running jobs which does not require mpd to run.
mpirun_rsh -np (num procs) -hostfile $PBS_NODEFILE executable
Copyright © 2008 by the University of Kansas
Please send comments and questions to the webmaster.
