MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014709 | CMake | Modules | public | 2014-01-19 19:45 | 2016-06-10 14:31 |
Reporter | Ryo IGARASHI | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | amd64 | OS | linux | OS Version | RHEL5 |
Product Version | CMake-2-8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014709: FindMPI.cmake failed to set MPI_CXX_LIBRARIES when using SGI MPI | ||||
Description | When I try to use SGI version of MPI implementation, FindMPI.cmake failed to set the correct MPI_CXX_LIBRARIES. For C++ programs, SGI MPI need to link 2 libraries, such that "-lmpi -lmpi++". However, according to CMakeCache.txt, it is set to: MPI_CXX_LIBRARIES:STRING=/usr/lib64/libmpi.so /usr/lib64/libmpi++.so not: MPI_CXX_LIBRARIES:STRING=/usr/lib64/libmpi.so;/usr/lib64/libmpi++.so the space causes the problem to link correctly. | ||||
Steps To Reproduce | $ cat CMakeLists.txt cmake_minimum_required(VERSION 2.8) enable_language(CXX) find_package(MPI) $ cmake ... (snipped) -- Found MPI_CXX: /usr/lib64/libmpi.so /usr/lib64/libmpi++.so ... (snipped) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-19 19:45 | Ryo IGARASHI | New Issue | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042465 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|