MantisBT - ParaView
View Issue Details
0012485ParaView(No Category)public2011-08-08 03:582016-08-12 09:58
Paul Melis 
David Partyka 
normalminorhave not tried
closedmoved 
3.10.1 
 
TBD
incorrect functionality
0012485: MPI_INCLUDE_PATH with too many paths, mpi.h not found
I'm building PV 3.8.1 and PV 3.10.1 on exactly the same Debian 6.0
system (64-bit) system using the exact same CMAKE configuration lines:

#!/bin/sh
cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DMANTA_BUILD=$HOME/c/manta-2439-build \
    -DMANTA_SOURCE=$HOME/c/manta-2439 \
    -DPARAVIEW_BUILD_PLUGIN_Manta=ON \
    -DPARAVIEW_ENABLE_PYTHON=ON \
    -DPARAVIEW_USE_MPI=ON \
    <source-dir>

The 3.8.1 build succeeds, but the 3.10.1 buid fails because mpi.h is not
being found:

[ 4%] Built target ProcessShader
[ 4%] Built target vtkMaterialLibraryConfiguredFiles
[ 5%] Built target vtkproj4
[ 5%] Built target lproj
[ 5%] Building CXX object
VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/mapreduce.cpp.o
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:14:17: error:
mpi.h: No such file or directory
In file included from
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:22:
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:38:
error: field 'MPI_Comm' has incomplete type
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:81:
error: 'MPI_Comm' does not name a type
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:93:
error: 'MPI_Comm' does not name a type
In file included from
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:23:
/home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/keyvalue.h:36:
error: field 'MPI_Comm' has incomplete type
[...]

After the CMake (2.8.5) configuration phase MPI_INCLUDE_PATH is set
to "/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi".
mpi.h is actually only located in /usr/lib/openmpi/include
on my system, removing the second path from MPI_INCLUDE_PATH makes
the build succeed.
No tags attached.
Issue History
2011-08-08 03:58Paul MelisNew Issue
2011-08-08 13:55David PartykaAssigned To => David Partyka
2011-11-28 07:53David DoriaNote Added: 0027733
2016-08-12 09:58Kitware RobotNote Added: 0038033
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved

Notes
(0027733)
David Doria   
2011-11-28 07:53   
I had this same problem (same version of CMake, same resolution).
(0038033)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

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