[Dune] problem with installation of dune

Mariya Ptashnyk mptashnyk at maths.dundee.ac.uk
Fri Sep 27 16:52:44 CEST 2013


Dear Arya, 


I configured and installed everything ones more and now I have a different errors


/Users/mptashnyk/dune/dune-grid/dune/grid/common/geometry.hh:293:7: warning: 'void Dune::Geometry<mydim, cdim, GridImp, GeometryImp>::deprecationWarning(std::integral_constant<bool, true>) [with int mydim = 1; int cdim = 2; GridImp = const Dune::ALU2dGrid<2, 2, (ALU2DGrid::ElementType)0u>; GeometryImp = Dune::ALU2dGridGeometry]' is deprecated (declared at /Users/mptashnyk/dune/dune-grid/dune/grid/common/geometry.hh:301): "This Dune::Geometry is still a reference to its implementation." [-Wdeprecated-declarations]
make[4]: *** [poisson_uniform-poisson_uniform.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/poisson_adaptive-poisson_adaptive.Tpo .deps/poisson_adaptive-poisson_adaptive.Po
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thank you very much. 

Best regards. 
Mariya. 


On 27 Sep 2013, at 14:40, Arya Fallahi wrote:

> 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.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.
> 
> 
> _______________________________________________
> 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/600492e0/attachment.htm>


More information about the Dune mailing list