MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012572 | VTK | (No Category) | public | 2011-09-05 10:49 | 2016-08-12 09:55 |
Reporter | Mathieu Malaterre | ||||
Assigned To | David Partyka | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | Titan | ||||
Type | incorrect functionality | ||||
Summary | 0012572: Incorrect assumptions for MPI_INCLUDE_PATH in VTK | ||||
Description | I am currently trying to compile VTK 5.8.0 on my linux/debian box. On debian OpenMPI is the default MPI implementation. In this case FindMPI.cmake module from cmake 2.8.5 is finding that I have: MPI_INCLUDE_PATH:STRING=/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi which is compatible with the documentation of FindMPI.cmake, where MPI_INCLUDE_PATH is documented to have one *or more* paths. However in VTK, it is assumed (or it looks like) that MPI_INCLUDE_PATH is supposed to be a single path pointing to mpi.h: $ grep -r MPI_INCLUDE_PATH * | grep \" Utilities/IceT/IceTConfig.cmake.in:SET(ICET_MPI_INCLUDE_PATH "@MPI_INCLUDE_PATH@") Utilities/Xdmf2/XDMFConfig.cmake.in: SET(XDMF_MPI_INCLUDE_PATH "@MPI_INCLUDE_PATH@") VTK/Infovis/Testing/Cxx/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Examples/ParallelProcessing/Generic/Cxx/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Parallel/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Parallel/Testing/Cxx/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Utilities/mrmpi/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Utilities/VPIC/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Utilities/Cosmo/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Utilities/vtkhdf5/CMakeLists.txt: SET (CMAKE_REQUIRED_INCLUDES "${MPI_INCLUDE_PATH}/mpi.h" ) VTK/Utilities/vtkhdf5/CMakeLists.txt: CHECK_SYMBOL_EXISTS (MPI_Comm_c2f "${MPI_INCLUDE_PATH}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Comm) VTK/Utilities/vtkhdf5/CMakeLists.txt: CHECK_SYMBOL_EXISTS (MPI_Info_c2f "${MPI_INCLUDE_PATH}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Info) VTK/Wrapping/Tcl/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/Wrapping/Python/CMakeLists.txt: INCLUDE_DIRECTORIES("${MPI_INCLUDE_PATH}") VTK/VTKConfig.cmake.in:SET(VTK_MPI_INCLUDE_DIR "@MPI_INCLUDE_PATH@") This leads to compilation line such as: cd /.../paraview/debian/build/VTK/Utilities/mrmpi/src && /usr/bin/c++ ... -I"/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi" -o CMakeFiles/MapReduceMPI.dir/keyvalue.cpp.o -c /home/mathieu/debian/paraview/VTK/Utilities/mrmpi/src/keyvalue.cpp Which of course do not work. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | repair_mpi_includes.diff (8,415) 2012-02-06 11:41 https://www.vtk.org/Bug/file/9112/repair_mpi_includes.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-09-05 10:49 | Mathieu Malaterre | New Issue | |||
2011-09-05 12:45 | Mathieu Malaterre | Note Added: 0027456 | |||
2011-09-06 09:03 | Utkarsh Ayachit | Assigned To | => David Partyka | ||
2011-09-06 09:03 | Utkarsh Ayachit | Status | backlog => tabled | ||
2012-02-06 11:41 | jzarl | Note Added: 0028059 | |||
2012-02-06 11:41 | jzarl | File Added: repair_mpi_includes.diff | |||
2012-02-13 10:44 | Jeff Baumes | Project | TBD => Titan | ||
2013-07-22 20:03 | Dave DeMarle | Status | tabled => backlog | ||
2013-07-22 20:03 | Dave DeMarle | Note Added: 0031257 | |||
2013-07-22 20:33 | Dave DeMarle | Status | backlog => expired | ||
2013-07-22 20:33 | Dave DeMarle | Note Added: 0031281 | |||
2016-08-12 09:55 | Kitware Robot | Note Added: 0037242 | |||
2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|