[Dune] problem with installation of dune
Mariya Ptashnyk
mptashnyk at maths.dundee.ac.uk
Fri Sep 27 15:31:30 CEST 2013
Dear Dune-Developers,
I was trying to install dune together with alugrid, but was not successful.
The installation of dune without alugrid was successful.
Maybe there some obvious mistakes in my installation process.
For configuration of alugrid I used:
./configure --with-metis=/usr/local CXX=g++ CXXFLAGS="-std=c++0x `mpicc -showme:compile`" LDFLAGS="`mpicc -showme:link`"
and then
make and make install
For dune I used:
./dune-common/bin/dunecontrol --opts=config.opts all
and config.opts which includes
CONFIGURE_FLAGS="--with-alugrid=alugrid_path --enable-parallel"
MAKE_FLAGS="-j 2"
I m installing:
alugrid 1.52, dune core 2.2.1, pdelab 1.1.0, pdelab-howto 1.10
and have g++ 4.7.3
The error comments are:
libtool: link: ranlib .libs/libdgfparser.a
libtool: link: rm -fr .libs/libdgfparser.lax
libtool: link: ( cd ".libs" && rm -f "libdgfparser.la" && ln -s "../libdgfparser.la" "libdgfparser.la" )
Making all in vtk
make[6]: Nothing to be done for `all'.
Making all in gnuplot
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
Making all in visual
Making all in grape
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
make[5]: Nothing to be done for `all-am'.
Making all in albertagrid
Making all in test
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in geometrygrid
make[4]: Nothing to be done for `all'.
Making all in test
make[4]: Nothing to be done for `all'.
/bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++0x -g -O2 -Wall -o libgrid.la onedgrid/libonedgrid.la alugrid/libalu.la io/file/dgfparser/libdgfparser.la -L/Users/mptashnyk/dune/dune-geometry/lib -ldunegeometry -L/Users/mptashnyk/dune/dune-common/lib -ldunecommon -lm
libtool: link: cannot find the library `/Users/mptashnyk/ALUGrid/lib/libalugrid.la' or unhandled argument `/Users/mptashnyk/ALUGrid/lib/libalugrid.la'
make[4]: *** [libgrid.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--- Failed to build dune-grid ---
Thank you very much for your help.
Best regards,
Mariya.
More information about the Dune
mailing list