MantisBT - CMake
View Issue Details
0010778CMakeModulespublic2010-05-28 15:582016-06-10 14:31
Justin 
David Partyka 
normalminoralways
closedmoved 
 
 
0010778: FindMPI module checks when x86_64-pc-linux-gnu-g++ is returned by mpicxx -show
The module calls
mpicxx -show
On Gentoo it returns
x86_64-pc-linux-gnu-g++ -I/usr/include -L/usr/lib64 -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -lmpichcxx -lmpich -lopa -lpthread -lrt

The regex in the module searches for "-l" which also returns -linux-gnu-g++ and makes the module fail.

We use following patch to fix the issue:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.1-mpi.patch?view=markup [^]
No tags attached.
Issue History
2010-05-28 15:58JustinNew Issue
2010-08-11 03:09Kovarththanan RajaratnamCategoryCCMake => Modules
2010-08-11 15:51jmschreiNote Added: 0021715
2010-12-08 10:45David ColeStatusnew => assigned
2010-12-08 10:45David ColeAssigned To => David Partyka
2016-06-10 14:28Kitware RobotNote Added: 0041706
2016-06-10 14:28Kitware RobotStatusassigned => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0021715)
jmschrei   
2010-08-11 15:51   
I've had the same problem with the regex matching -link from -rpath-link. The gentoo patch should fix our problem as well.
(0041706)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.