<div dir="ltr"><div><div><div><div><div>Dear Mariya,<br><br></div>In your installation, I do not see any point where you define "alugrid_path". A suggestion is as the following:<br><br></div>Install alugrid as:<br>
<br>./configure <span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">--prefix=/tools/</span><span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">ALUGrid-1.52 </span>--with-metis=/usr/local CXX=g++ CXXFLAGS="-std=c++0x `mpicc -showme:compile`" LDFLAGS="`mpicc -showme:link`"<br>
<br></div>and then add to your opts file:<br><br>--with-alugrid=<span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">'/tools/</span><span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">ALUGrid-1.52'<br>
<br></span></div><span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">Best regards,<br></span></div><span style="font-size:10pt;line-height:115%;font-family:"Courier New"" lang="EN-US">Arya<br>
</span><div><div><div>
<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 3:31 PM, Mariya Ptashnyk <span dir="ltr"><<a href="mailto:mptashnyk@maths.dundee.ac.uk" target="_blank">mptashnyk@maths.dundee.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Dune-Developers,<br>
<br>
I was trying to install dune together with alugrid, but was not successful.<br>
The installation of dune without alugrid was successful.<br>
Maybe there some obvious mistakes in my installation process.<br>
<br>
For configuration of alugrid I used:<br>
<br>
./configure --with-metis=/usr/local CXX=g++ CXXFLAGS="-std=c++0x `mpicc -showme:compile`" LDFLAGS="`mpicc -showme:link`"<br>
<br>
and then<br>
<br>
make and make install<br>
<br>
For dune I used:<br>
<br>
./dune-common/bin/dunecontrol --opts=config.opts all<br>
<br>
and config.opts which includes<br>
<br>
CONFIGURE_FLAGS="--with-alugrid=alugrid_path --enable-parallel"<br>
MAKE_FLAGS="-j 2"<br>
<br>
I m installing:<br>
<br>
alugrid 1.52, dune core 2.2.1, pdelab 1.1.0, pdelab-howto 1.10<br>
<br>
and have g++ 4.7.3<br>
<br>
<br>
The error comments are:<br>
<br>
libtool: link: ranlib .libs/libdgfparser.a<br>
libtool: link: rm -fr .libs/libdgfparser.lax<br>
libtool: link: ( cd ".libs" && rm -f "<a href="http://libdgfparser.la" target="_blank">libdgfparser.la</a>" && ln -s "../<a href="http://libdgfparser.la" target="_blank">libdgfparser.la</a>" "<a href="http://libdgfparser.la" target="_blank">libdgfparser.la</a>" )<br>
Making all in vtk<br>
make[6]: Nothing to be done for `all'.<br>
Making all in gnuplot<br>
make[6]: Nothing to be done for `all'.<br>
make[6]: Nothing to be done for `all-am'.<br>
Making all in visual<br>
Making all in grape<br>
make[7]: Nothing to be done for `all-am'.<br>
make[6]: Nothing to be done for `all-am'.<br>
make[5]: Nothing to be done for `all-am'.<br>
Making all in albertagrid<br>
Making all in test<br>
make[5]: Nothing to be done for `all'.<br>
make[5]: Nothing to be done for `all-am'.<br>
Making all in geometrygrid<br>
make[4]: Nothing to be done for `all'.<br>
Making all in test<br>
make[4]: Nothing to be done for `all'.<br>
/bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++0x -g -O2 -Wall -o <a href="http://libgrid.la" target="_blank">libgrid.la</a> onedgrid/<a href="http://libonedgrid.la" target="_blank">libonedgrid.la</a> alugrid/<a href="http://libalu.la" target="_blank">libalu.la</a> io/file/dgfparser/<a href="http://libdgfparser.la" target="_blank">libdgfparser.la</a> -L/Users/mptashnyk/dune/dune-geometry/lib -ldunegeometry -L/Users/mptashnyk/dune/dune-common/lib -ldunecommon -lm<br>
libtool: link: cannot find the library `/Users/mptashnyk/ALUGrid/lib/<a href="http://libalugrid.la" target="_blank">libalugrid.la</a>' or unhandled argument `/Users/mptashnyk/ALUGrid/lib/<a href="http://libalugrid.la" target="_blank">libalugrid.la</a>'<br>
make[4]: *** [<a href="http://libgrid.la" target="_blank">libgrid.la</a>] Error 1<br>
make[3]: *** [all-recursive] Error 1<br>
make[2]: *** [all-recursive] Error 1<br>
make[1]: *** [all-recursive] Error 1<br>
make: *** [all] Error 2<br>
--- Failed to build dune-grid ---<br>
<br>
<br>
Thank you very much for your help.<br>
<br>
Best regards,<br>
Mariya.<br>
<br>
<br>
_______________________________________________<br>
Dune mailing list<br>
<a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>
<a href="http://lists.dune-project.org/mailman/listinfo/dune" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
</blockquote></div><br></div>