Remove use of FindMPI.cmake
commit417d0affff5485d10f905aa3581f14602aca873a
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 9 Jan 2012 09:38:33 +0000 (9 20:38 +1100)
committerMark Abraham <mark.j.abraham@gmail.com>
Sat, 14 Jan 2012 05:16:41 +0000 (14 16:16 +1100)
treebe21622c1659bd1e903f3f67c6c578485e31f6ab
parent1c01f12ca3aa726d8332fd4c99b25cb37de23f43
Remove use of FindMPI.cmake

The functionality of FindMPI.cmake should not be needed for GROMACS,
since the wrapper compiler will do the complete job. This already
worked for Cray and BlueGene, and so far this new version is known
to work for OpenMPI wrapping icc and gcc.

CMake now warns the user about possible unsuitable versions of
OpenMPI and MVAPICH2.

The process of managing MPI is more modular than it used to be.

To use:

cmake .. -DGMX_MPI=ON -DCMAKE_C_COMPILER=`which mpicc`

or with bash

CC=mpicc cmake .. -DGMX_MPI=ON

and whatever else suits your setup.

Fixes #851 and #636.

Change-Id: Ibe41206bed8b70b83a25da1e4e29dd87b61ea17d
CMakeLists.txt
admin/GerritBuild
cmake/gmxManageMPI.cmake [new file with mode: 0644]
cmake/gmxTestMPI_IN_PLACE.cmake