Allow also FindMPI for cmake<2.8.5
authorRoland Schulz <roland@utk.edu>
Thu, 28 Jun 2012 16:29:02 +0000 (12:29 -0400)
committerRoland Schulz <roland@utk.edu>
Thu, 28 Jun 2012 16:29:02 +0000 (12:29 -0400)
commitc689f14b4dfac41482b7e71e6cc83ae0e8cd731a
tree4fcfe8415217ab19c01eb5c42673a9938702eedd
parent4b764033b652b84013bafb432736eca631cd4a1e
Allow also FindMPI for cmake<2.8.5

Using FindMPI instead of mpi-wrapper makes it easier to compile
with CUDA. While FindMPI of cmake<2.8.5 is unreliable it depends
on the OS whether it works. With this change FindMPI is attemted
if no mpi wrapper is used and if it fails, mpi-wrapper or cmake
upgrade is recommended.

Change-Id: I20c0ac3958724feecaaef5c20279d340ecca4b1a
cmake/gmxManageMPI.cmake