[Dune] Installation / could not find required module dune-common

christi at dune-project.org christi at dune-project.org
Wed Mar 5 09:47:18 CET 2014


Hi Florian,

in such situations I'd ask you to also send your opts file. In this
situation I was able to identify the problematic option without...

>   $ ./configure DUNE_LDFLAGS=-L/home/vogelbacher/extlib/superludist/3.3/openmpi/1.6.5/gcc/4.8.1/lib -superludist -L/home/vogelbacher/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1/lib -lparmetis -L/home/vogelbacher/extlib/metis/5.1.0/gcc/4.8.1/lib -lmetis -lblas CXX=mpicxx CC=mpicc LD=mpicxx F77=mpif77 CXXFLAGS=-DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing  CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK -O2 -g0 -DHAVE_SUPERLU_DIST -I/home/vogelbacher/extlib/superludist/3.3/openmpi/1.6.5/gcc/4.8.1/SRC  CFLAGS=-DMPICH_IGNORE_CXX_SEEK -O2 -g0 -fomit-frame-pointer --no-strict-aliasing  --enable-hades3deltd --enable-hades3dfetd --enable-hades3ddges --enable-hades3ddgfd --enable-hades3dfeqs --enable-hades3dfefd --disable-documentation --enable-petsc --enable-parallel --enable-debug-output --enable-fieldvector-size-is-method --enable-experimental-grid-extensions --without-gmp --with-boost=/home/vogelbacher/extlib/boost/1.54.0/gcc/4.8.1 --with-metis=/home/vogelbacher/extlib/metis/5.1.0/gcc/4.8.1 --with-parmetis=/home/vogelbacher/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1 --with-alugrid=/home/vogelbacher/extlib/alugrid/1.96/openmpi/1.6.5/gcc/4.8.1 --with-petsc=/home/vogelbacher/extlib/petsc/3.4.3/openmpi/1.6.5/gcc/4.8.1 --prefix=/home/vogelbacher/gitwork/hades --with-dune-common=/home/vogelbacher/gitwork/hades/dune/dune-common/ ACLOCAL_AMFLAGS=-I . -I m4 -I /home/vogelbacher/gitwork/hades/dune/dune-common/m4

a) the option "-superludist" sneeked into your LDFLAGS, which is bogus
   and thus the linking fails.

b) I recommend not to use CXX=mpicxx at similar. Dune allows you to
   specify MPI and CXX seperately, which allows you to compile
   applications with and without MPI in the same project.

Ciao
Christian




More information about the Dune mailing list