To test MPICH2, use the following options after installing mpich2. These will assume that mpich2 is installed into /usr/local/mpich2
- MPICH2 test suite:
# cd to the top of the mpich2 build tree (may be source tree or a VPATH build
# tree).
cd mpich2
make testing
# Results summary is in test/summary.xml
2a. MPICH test suite:
# cd the mpich test suite directory
cd mpich/examples/test
setenv MPIRUN /usr/local/mpich2/bin/mpiexec
# remove --enable-io if MPICH2 was not built with --enable-romio
./configure -cc=/usr/local/mpich2/bin/mpicc -fc=/usr/local/mpich2/bin/mpif77 \
--enable-io
make testing
2b. MPICH test suite using VPATH
# Assume that the mpich test suite source is in /home/me/mpich/examples/test
# Assume that /sandbox is a local, temporary disk area
mkdir -p /sandbox/$LOGNAME/mpitest
cd /sandbox/$LOGNAME/mpitest
setenv MPIRUN /usr/local/mpich2/bin/mpiexec
# remove --enable-io if MPICH2 was not built with --enable-romio
/home/me/mpich/examples/test/configure -cc=/usr/local/mpich2/bin/mpicc \
-fc=/usr/local/mpich2/bin/mpif77 \
--enable-io
make testing
3. C++ test suite
# (This suite may also be run with VPATH)
cd mpicxxtest
./configure --with-mpich=/usr/local/mpich2 --enable-xml
make testing
# Summary is in summary.xml
4. Intel test suite
# It is recommended that this be run VPATH, within a locally mounted disk.
# Assume that the source for the Intel test is in /home/me/MPITEST
mkdir -p /sandbox/$LOGNAME/MPITEST
cd /sandbox/$LOGNAME/MPITEST
/home/me/MPITEST/configure --with-mpich2=/usr/local/mpich2
make testing
# Summary is in Test/summary.xml
