<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <blockquote
cite="mid:DBEF383764FCE7428354CFA9A0591A86F503D0C4@eonblitz17.eonerc.rwth-aachen.de"
      type="cite">
      <pre wrap="">

/home/user/Code/Dune/dune-mm-amg-master/src/matrixmarket-amg.cc: In function 'int main()':
/home/user/Code/Dune/dune-mm-amg-master/src/matrixmarket-amg.cc:35: error: using 'typename' outside of template</pre>
    </blockquote>
    <br>
    That's a bug in matrixmarket-amg.cc.  Simply remove the word
    'typename' from line 35.<br>
    <br>
    Best,<br>
    Oliver<br>
    <br>
    <br>
    <blockquote
cite="mid:DBEF383764FCE7428354CFA9A0591A86F503D0C4@eonblitz17.eonerc.rwth-aachen.de"
      type="cite">
      <pre wrap="">
gmake[2]: *** [src/CMakeFiles/matrixmarket-amg.dir/matrixmarket-amg.cc.o] Error 1
gmake[1]: *** [src/CMakeFiles/matrixmarket-amg.dir/all] Error 2
gmake: *** [all] Error 2
--- Failed to build dune-mm-amg ---
Terminating dunecontrol due to previous errors!

--
Dipl.-Math. Henrik Büsing
Institute for Applied Geophysics and Geothermal Energy
E.ON Energy Research Center
RWTH Aachen University
------------------------------------------------------
Mathieustr. 10            |    Tel +49 (0)241 80 49907
52074 Aachen, Germany     |    Fax +49 (0)241 80 49889
------------------------------------------------------
<a class="moz-txt-link-freetext" href="http://www.eonerc.rwth-aachen.de/GGE">http://www.eonerc.rwth-aachen.de/GGE</a>
<a class="moz-txt-link-abbreviated" href="mailto:hbuesing@eonerc.rwth-aachen.de">hbuesing@eonerc.rwth-aachen.de</a>
------------------------------------------------------

Von: <a class="moz-txt-link-abbreviated" href="mailto:dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org">dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org</a> [<a class="moz-txt-link-freetext" href="mailto:dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org">mailto:dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org</a>] Im Auftrag von Oliver Sander
Gesendet: 27 August 2015 14:40
An: <a class="moz-txt-link-abbreviated" href="mailto:dune@dune-project.org">dune@dune-project.org</a>
Betreff: Re: [Dune] Read in matrix and rhs, solve linear system

Hi,
to be honest, I have no idea.  But for the AMG you don't actually need Boost,
so if everything else fails you can try to comment-out the Boost-related lines
in dune-istl/cmake/modules/DuneIstlMacros.cmake.
Best,
Oliver

Am 27.08.2015 um 12:33 schrieb Buesing, Henrik:

Dear Oliver! Dear Markus!



I downloaded dune-common, dune-istl and dune-mm-amg. Now I try to build the packages with



./dune-common-2.4/bin/dunecontrol --module=dune-mm-amg all --opts=/home/user/Code/Dune/dune.options



My options file looks like:



# use a custom directory, default is /usr/local/bin

CONFIGURE_FLAGS="--prefix='/home/user/Code/Dune'"

# Set the default target of make to install. Now the call above will

# not just build the DUNE modules but also install it

MAKE_FLAGS=install

# The default versions of automake and autogen are not sufficient

# therefore we need to specify what versions to use

AUTOGEN_FLAGS="--ac=2.59 --am=1.9"



I'm getting errors complaining about the Boost library. I attached the log. The first error you can find below.



Any ideas what I'm doing wrong here? I have not super user rights on my account.



@Markus: After compiling can I then run AMG also in parallel? My matrix is quite big (>6 mio unknowns) and thus I benchmark in parallel.



Henrik







CMake Error at /usr/lib64/boost/Boost.cmake:16 (ADD_LIBRARY):

  add_library cannot create imported target "boost_date_time-static" because

  another target with the same name already exists.

Call Stack (most recent call first):

  /usr/lib64/boost/BoostConfig.cmake:28 (include)

  /home/user/cmake-2.8.11.1/Modules/FindBoost.cmake:177 (find_package)

  /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneBoost.cmake:12 (find_package)

  /home/user/Code/Dune/dune-common-2.4/cmake/modules/FindBoostFusion.cmake:8 (include)

  cmake/modules/DuneIstlMacros.cmake:2 (find_package)

  /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneMacros.cmake:521 (include)

  /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneMacros.cmake:664 (dune_process_dependency_macros)

  CMakeLists.txt:24 (dune_project)










_______________________________________________

Dune mailing list

<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Dune@dune-project.org"><mailto:Dune@dune-project.org></a>

<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>


</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>