View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014709CMakeModulespublic2014-01-19 19:452016-06-10 14:31
ReporterRyo IGARASHI 
Assigned ToKitware Robot 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
Platformamd64OSlinuxOS VersionRHEL5
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0014709: FindMPI.cmake failed to set MPI_CXX_LIBRARIES when using SGI MPI
DescriptionWhen 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)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042465)
Kitware Robot (administrator)
2016-06-10 14:29

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.

 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


Copyright © 2000 - 2018 MantisBT Team