[CMake] Fortran version of FindMPI
Moreland, Kenneth
kmorel at sandia.gov
Mon Jan 11 16:26:27 EST 2010
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: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100111/08532ed1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindMPIF.cmake
Type: application/octet-stream
Size: 14666 bytes
Desc: FindMPIF.cmake
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100111/08532ed1/attachment-0001.obj>
More information about the CMake
mailing list