[Dune] problem with installation of dune
Arya Fallahi
arya.fallahi at gmail.com
Fri Sep 27 15:40:15 CEST 2013
Dear Mariya,
In your installation, I do not see any point where you define
"alugrid_path". A suggestion is as the following:
Install alugrid as:
./configure --prefix=/tools/ALUGrid-1.52 --with-metis=/usr/local CXX=g++
CXXFLAGS="-std=c++0x `mpicc -showme:compile`" LDFLAGS="`mpicc -showme:link`"
and then add to your opts file:
--with-alugrid='/tools/ALUGrid-1.52'
Best regards,
Arya
On Fri, Sep 27, 2013 at 3:31 PM, Mariya Ptashnyk <
mptashnyk at maths.dundee.ac.uk> wrote:
> 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.laio/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.
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130927/d39ebbbd/attachment.htm>
More information about the Dune
mailing list