Bug#587234: mpicxx.h: error: mpi.h: No such file or directory

Gerber van der Graaf gerber.vdgraaf at gmail.com
Sat Jun 26 13:07:22 UTC 2010


Package: mpi-default-dev
Version: 0.6
Severity: normal

When building the FreeFOAM software for debianizing
(http://freefoam.sf.net, not yet in debian) from the upstream git
repository, the compilation fails with error message:
=========================
[ 57%] Building CXX object
src/decompositionMethods/scotchDecomp/CMakeFiles/scotchDecomp.dir/scotchDecomp.C.o
cd /home/gerber/FreeFOAM/build/src/decompositionMethods/scotchDecomp &&
/usr/bin/c++   -DscotchDecomp_EXPORTS -DDP -DNoRepository -Dlinux64
-fPIC
-I/home/gerber/FreeFO
AM/build/include -I/usr/include/scotch   -o
CMakeFiles/scotchDecomp.dir/scotchDecomp.C.o -c
/home/gerber/FreeFOAM/freefoam2/src/decompositionMethods/scotchDecomp/scotc
hDecomp.C
In file included from /usr/include/mpi/mpi.h:1886,
                 from /usr/include/scotch/scotch.h:75,
                 from
/home/gerber/FreeFOAM/freefoam2/src/decompositionMethods/scotchDecomp/scotchDecomp.C:117:
/usr/include/mpi/openmpi/ompi/mpi/cxx/mpicxx.h:33:17: error: mpi.h: No
such
file or directory
/usr/include/mpi/openmpi/ompi/mpi/cxx/mpicxx.h:201:44: error:
openmpi/ompi/mpi/cxx/constants.h: No such file or directory
/usr/include/mpi/openmpi/ompi/mpi/cxx/mpicxx.h:202:44: error:
openmpi/ompi/mpi/cxx/functions.h: No such file or directory
/usr/include/mpi/openmpi/ompi/mpi/cxx/mpicxx.h:203:43: error:
openmpi/ompi/mpi/cxx/datatype.h: No such file or directory
(ETC)
==============================

While I do find these files on my system at:
/usr/include/mpi/openmpi/ompi/mpi/cxx/

Maybe a wrong or missing symlink?

I tested the example of hello_cxx from openmpi-doc package, after
configuring and building with CMake implemented "find_package(MPI
REQUIRED)", like the FreeFOAM package. This, though, works fine.

Gerber van der Graaf



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpi-default-dev depends on:
ii  libopenmpi-dev                1.4.1-3    high performance message
passing l

mpi-default-dev recommends no packages.

mpi-default-dev suggests no packages.

-- no debconf information







More information about the debian-science-maintainers mailing list