View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012485ParaView(No Category)public2011-08-08 03:582016-08-12 09:58
ReporterPaul Melis 
Assigned ToDavid Partyka 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version3.10.1 
Target VersionFixed in Version 
Summary0012485: MPI_INCLUDE_PATH with too many paths, mpi.h not found
DescriptionI'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.
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0027733)
David Doria (reporter)
2011-11-28 07:53

I had this same problem (same version of CMake, same resolution).
(0038033)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2011-08-08 03:58 Paul Melis New Issue
2011-08-08 13:55 David Partyka Assigned To => David Partyka
2011-11-28 07:53 David Doria Note Added: 0027733
2016-08-12 09:58 Kitware Robot Note Added: 0038033
2016-08-12 09:58 Kitware Robot Status backlog => closed
2016-08-12 09:58 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team