Hello,

I am running CMake 2.8.12 on a Mac OSX 10.8. The FindMPI.cmake module doesn't 
appear to accept that the mli libraries are in the /usr/lib directory. I get 
the error message pasted below. It would seem that mlicc --showme yields "gcc 
-lmpi -lm". The module then tries to find the libraries "mpi" and "m" but 
either isn't looking in "/usr/lib" or isn't looking there correctly, because 
the libraries are there and MPI works fine. Any advice is appreciated.

 CMake Warning at /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindMPI.cmake:383 (message):
   Unable to find MPI library mpi
 Call Stack (most recent call first):
   /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindMPI.cmake:569 
(interrogate_mpi_compiler)
   CMakeLists.txt:456 (find_package)



 CMake Warning at /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindMPI.cmake:383 (message):
   Unable to find MPI library m
 Call Stack (most recent call first):
   /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindMPI.cmake:569 
(interrogate_mpi_compiler)
   CMakeLists.txt:456 (find_package)



 CMake Error at /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
 (message):
   Could NOT find MPI_C (missing: MPI_C_LIBRARIES)
 Call Stack (most recent call first):
   /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
 (_FPHSA_FAILURE_MESSAGE)
   /Applications/CMake 
2.8-12.app/Contents/share/cmake-2.8/Modules/FindMPI.cmake:587 
(find_package_handle_standard_args)
   CMakeLists.txt:456 (find_package)

Thanks
Lucas

________________________________
This electronic message transmission and any attachments that accompany it 
contain information from DRCĀ® (Dynamics Research Corporation) or its 
subsidiaries, or the intended recipient, which is privileged, proprietary, 
business confidential, or otherwise protected from disclosure and is the 
exclusive property of DRC and/or the intended recipient. The information in 
this email is solely intended for the use of the individual or entity that is 
the intended recipient. If you are not the intended recipient, any use, 
dissemination, distribution, retention, or copying of this communication, 
attachments, or substance is prohibited. If you have received this electronic 
transmission in error, please immediately reply to the author via email that 
you received the message by mistake and also promptly and permanently delete 
this message and all copies of this email and any attachments. We thank you for 
your assistance and apologize for any inconvenience.
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to