<div dir="ltr"><div><div><div><div>Hi Christoph,<br><br></div>I have done that and additionally it seems CMake does not recognize g++-4.7 itself. It needs the absolute path. The problem that I have now is that ALUGrid can not be found by the compiler. Currently the opts file is looking like this:<br><br>CONFIGURE_FLAGS="--enable-parallel"<br><br>CMAKE_PREFIX_PATH="\<br>/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.5">desy.de/user/a/afallahi/extlib/alugrid-1.5</a>;\<br>/afs/<a href="http://desy.de/user/a/afallahi/extlib/metis-5.0">desy.de/user/a/afallahi/extlib/metis-5.0</a>;\<br>" <br><br>GXX_OPTS="-O3 -g0" <br><br>CMAKE_FLAGS=" \<br>CXXFLAGS=\"$GXX_OPTS\" \<br>-DCMAKE_CXX_COMPILER=/afs/<a href="http://desy.de/user/a/afallahi/extlib/gcc-4.7/bin/g++-4.7">desy.de/user/a/afallahi/extlib/gcc-4.7/bin/g++-4.7</a><br>MPICC=$HOME/extlib/openmpi-1.6/bin/mpicc \<br>-DALUGRID_ROOT=/afs/<a href="http://desy.de/user/a/afallahi/extlib/alugrid-1.5">desy.de/user/a/afallahi/extlib/alugrid-1.5</a>;\<br>-DMETIS_ROOT=/afs/<a href="http://desy.de/user/a/afallahi/extlib/metis-5.0">desy.de/user/a/afallahi/extlib/metis-5.0</a>;\<br><br></div>However, I receive the following error when dune-geometry is compiling:<br><br>configure: searching for ALUGrid in /usr...<br>configure: searching for ALUGrid in /usr/local...<br>configure: searching for ALUGrid in /usr/local/alugrid...<br>configure: searching for ALUGrid in /opt/alugrid...<br>checking ALUGrid version >= 1.52... no<br>checking alugrid_serial.h usability... no<br>checking alugrid_serial.h presence... no<br>checking for alugrid_serial.h... no<br>configure: WARNING: alugrid_serial.h not found in /include<br>configure: error: could not find required module dune-geometry<br>--- Failed to build dune-grid ---<br>Terminating dunecontrol due to previous errors!<br><br></div>I am just copy and pasting from the website. But, it seems something is wrong in the guide lines.<br><br></div>Regards,<br>Arya<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 7, 2015 at 7:16 PM, Christoph Grüninger <span dir="ltr"><<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de" target="_blank">christoph.grueninger@iws.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Arya,</div><div>delete the build directory.</div><div><br></div><div>Bye,</div><div>Christoph<br><br><br></div><div><br>Am 07.01.2015 um 18:35 schrieb Arya Fallahi <<a href="mailto:arya.fallahi@gmail.com" target="_blank">arya.fallahi@gmail.com</a>>:<br><br></div><div><div class="h5"><blockquote type="cite"><div><div dir="ltr"><div>Hi Christoph,<br><br></div>Thank you very much for the quick reply. I did what you said. However, it seems the compiler gets trap in a loop. It returns the following message and does some configuring which again is followed by the message below. Do you know what is exactly happening?<br><div><div><br>-- Configuring done<br>You have changed variables that require your cache to be deleted.<br>Configure will be re-run and you may have to reset some variables.<br>The following variables have changed:<br>CMAKE_CXX_COMPILER= g++-4.7<br><br></div><div>Regards,<br></div><div>Arya<br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 7, 2015 at 6:13 PM, Christoph Grüninger <span dir="ltr"><<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de" target="_blank">christoph.grueninger@iws.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arya,<br>
instead of<br>
  CMAKE_CXX_COMPILER=g++-4.7<br>
you should add it to the CMAKE_FLAGS like<br>
  -DCMAKE_CXX_COMPILER=g++-4.7<br>
<br>
All CMake variables are passed -D<variablename>=<value> in the<br>
CMAKE_FLAGS variable.<br>
<br>
Bye<br>
<span><font color="#888888">Christoph<br>
<br>
--<br>
GDB does hate your application, expresses its contempt through the<br>
design of its command-line interface.   -- Tom Tromey, FOSDEM 2014<br>
<br>
</font></span><br>_______________________________________________<br>
Dune mailing list<br>
<a href="mailto:Dune@dune-project.org" target="_blank">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>
<br></blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>