Bug#849764: libdeal.ii-dev: fatal error: mpi.h: No such file or directory

Denis Danilov danilovdenis at yandex.ru
Fri Dec 30 18:32:44 UTC 2016


Package: libdeal.ii-dev
Severity: normal

Dear Maintainer,

building a program with libdeal.ii fails with an error

/usr/include/deal.II/base/config.h:327:19: fatal error: mpi.h: No such file or directory
 #  include <mpi.h> 

To reproduce the problem, take a fresh installation and execute
apt-get --assume-yes --no-install-recommends install cmake make g++
apt-get --assume-yes --no-install-recommends install libdeal.ii-dev libdeal.ii-doc
cd /usr/share/doc/libdeal.ii-doc/examples/step-1
cmake .
make
that will result in
Scanning dependencies of target step-1
[ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
In file included from /usr/include/deal.II/grid/tria.h:20:0,
                 from /usr/share/doc/libdeal.ii-doc/examples/step-1/step-1.cc:22:
/usr/include/deal.II/base/config.h:327:19: fatal error: mpi.h: No such file or directory
 #  include <mpi.h>
                   ^
compilation terminated.
CMakeFiles/step-1.dir/build.make:62: recipe for target 'CMakeFiles/step-1.dir/step-1.cc.o' failed
make[2]: *** [CMakeFiles/step-1.dir/step-1.cc.o] Error 1
CMakeFiles/Makefile2:195: recipe for target 'CMakeFiles/step-1.dir/all' failed
make[1]: *** [CMakeFiles/step-1.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


Best
Denis


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the debian-science-maintainers mailing list