View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
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. | ||||||||
Tags | No tags attached. | ||||||||
Project | Titan | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | repair_mpi_includes.diff [^] (8,415 bytes) 2012-02-06 11:41 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0027456) Mathieu Malaterre (developer) 2011-09-05 12:45 |
Here is the log in a sid/debian/chroot: -- Found HDF5: debug;/usr/lib/libhdf5.so;debug;/usr/lib/x86_64-linux-gnu/libpthread.so;debug;/usr/lib/libz.so;debug;/usr/lib/x86_64-linux-gnu/libm.so;optimized;/usr/lib/libhdf5.so;optimized;/usr/lib/x86_64-linux-gnu/libpthread.so;optimized;/usr/lib/libz.so;optimized;/usr/lib/x86_64-linux-gnu/libm.so -- Found JPEG: /usr/lib/libjpeg.so -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so -- Found TIFF: /usr/lib/libtiff.so -- Found EXPAT: /usr/lib/libexpat.so -- Found LibXml2: /usr/lib/libxml2.so -- Found OGGTHEORA: /usr/lib/libogg.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindMPI.cmake:81 (include): File /usr/share/cmake-2.8/Modules/FindMPI.cmake includes /tmp/buildd/paraview-3.10.1/CMake/GetPrerequisites.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/share/cmake-2.8/Modules/GetPrerequisites.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): VTK/CMakeLists.txt:876 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. |
(0028059) jzarl (reporter) 2012-02-06 11:41 |
I can confirm this on SLES11.1 using openmpi. The attached patch "repair_mpi_includes.diff" fixes the issue for me... |
(0031257) Dave DeMarle (administrator) 2013-07-22 20:03 |
moving all "tabled" bugs into "backlog" category since "tabled" is no longer used. |
(0031281) Dave DeMarle (administrator) 2013-07-22 20:33 |
Dave P no longer works on the project. If these old issues still exist in 6.0.0, reopen them and assign to Dave DeMarle |
(0037242) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |