MantisBT - CMake
View Issue Details
0009209CMakeModulespublic2009-06-26 08:152011-05-02 14:45
Stephane P 
David Partyka 
normaltrivialalways
closedwon't fix 
CMake-2-6 
CMake 2.8.4 
0009209: cmake do not find MPI_INCLUDE_DIR on ubuntu (mpich)
cmake do not find the MPI_INCLUDE_DIR by itself when using mpich on ubuntu.
This directory is /usr/lib/mpich/include (which is a sibling of the directory where the library is)
No tags attached.
Issue History
2009-06-26 08:15Stephane PNew Issue
2009-07-18 01:45Philip LowmanAssigned To => Douglas Gregor
2009-07-18 01:45Philip LowmanStatusnew => assigned
2009-07-18 01:45Philip LowmanCategoryCMake => Modules
2010-12-08 10:34David ColeAssigned ToDouglas Gregor =>
2010-12-08 10:34David ColeStatusassigned => new
2010-12-08 10:49David ColeAssigned To => David Partyka
2010-12-08 10:49David ColeStatusnew => assigned
2011-01-04 08:49David PartykaNote Added: 0024384
2011-01-04 08:49David PartykaStatusassigned => resolved
2011-01-04 08:49David PartykaResolutionopen => won't fix
2011-01-04 12:00David ColeTarget Version => CMake 2.8.4
2011-05-02 14:45David ColeNote Added: 0026305
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0024384)
David Partyka   
2011-01-04 08:49   
Stephane, I wouldn't consider /usr/lib/mpich/{bin,lib,include} to be in a standard system searchable location. Typically the find module searches for the mpi compilers and uses them to find the location of the libraries and includes.

That said, it does appear to contain mpiCC under /usr/bin/mpich/bin/mpiCC. If you try using that as your compiler that may work. Otherwise I recommend using mpich2 or open mpi as they are integrated into Ubuntu much better.
(0026305)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.