I have a simple Fortran program that uses MPI that I am trying to configure with CMake. The problem is that although the FindMPI module finds the C libraries for MPI, it does not find the Fortran libraries. To get around this I copied the FindMPI.cmake from the CMake distribution and did some edits and a few search-and-replaces to find the Fortran version of the library. It seems to work well enough on my system (using OpenMPI) with the exception of finding some system 64-bit libraries (which is actually caused by a CMake bug that I just submitted a report for http://www.paraview.org/Bug/view.php?id=10119). The module is attached. Is there any interest in placing this with the CMake distribution or integrating into the existing FindMPI module?
-Ken
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: [email protected]
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
FindMPIF.cmake
Description: FindMPIF.cmake
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
