<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New","serif";
color:black;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;
color:black;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Courier New","serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Ok, commenting Boost out did the trick for dune-istl. But I still get an error in the dune-mm-amg module (see below for the error).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Googling said that it has to do sth. with C++03 mode vs. C++0x mode. But even when I put<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">CONFIGURE_FLAGS="CXX='g++ -std=c++0x' --prefix='/home/user/Code/Dune'"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">in my options-file I get the error. I use gcc 4.4.7.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Can I define a template such that “typename SmootherArgs” is declared in it? Unfortunately I don’t know how. Or can I somehow force him to accept
the declaration outside a template?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Henrik<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">===============<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Error<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">/home/user/Code/Dune/dune-mm-amg-master/src/matrixmarket-amg.cc: In function 'int main()':<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">/home/user/Code/Dune/dune-mm-amg-master/src/matrixmarket-amg.cc:35: error: using 'typename' outside of template<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">gmake[2]: *** [src/CMakeFiles/matrixmarket-amg.dir/matrixmarket-amg.cc.o] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">gmake[1]: *** [src/CMakeFiles/matrixmarket-amg.dir/all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">gmake: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">--- Failed to build dune-mm-amg ---<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Terminating dunecontrol due to previous errors!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">--
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Dipl.-Math. Henrik Büsing<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Institute for Applied Geophysics and Geothermal Energy<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">E.ON Energy Research Center<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">RWTH Aachen University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">Mathieustr. 10 | Tel +49 (0)241 80 49907<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">52074 Aachen, Germany | Fax +49 (0)241 80 49889<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">http://www.eonerc.rwth-aachen.de/GGE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">hbuesing@eonerc.rwth-aachen.de<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext">------------------------------------------------------<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New","serif";color:windowtext"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org
[mailto:dune-bounces+hbuesing=eonerc.rwth-aachen.de@dune-project.org] <b>Im Auftrag von
</b>Oliver Sander<br>
<b>Gesendet:</b> 27 August 2015 14:40<br>
<b>An:</b> dune@dune-project.org<br>
<b>Betreff:</b> Re: [Dune] Read in matrix and rhs, solve linear system<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi,<br>
to be honest, I have no idea. But for the AMG you don't actually need Boost,<br>
so if everything else fails you can try to comment-out the Boost-related lines<br>
in dune-istl/cmake/modules/DuneIstlMacros.cmake.<br>
Best,<br>
Oliver<br>
<br>
Am 27.08.2015 um 12:33 schrieb Buesing, Henrik:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Dear Oliver! Dear Markus!<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I downloaded dune-common, dune-istl and dune-mm-amg. Now I try to build the packages with <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>./dune-common-2.4/bin/dunecontrol --module=dune-mm-amg all --opts=/home/user/Code/Dune/dune.options<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>My options file looks like: <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre># use a custom directory, default is /usr/local/bin<o:p></o:p></pre>
<pre>CONFIGURE_FLAGS="--prefix='/home/user/Code/Dune'"<o:p></o:p></pre>
<pre># Set the default target of make to install. Now the call above will<o:p></o:p></pre>
<pre># not just build the DUNE modules but also install it<o:p></o:p></pre>
<pre>MAKE_FLAGS=install<o:p></o:p></pre>
<pre># The default versions of automake and autogen are not sufficient<o:p></o:p></pre>
<pre># therefore we need to specify what versions to use<o:p></o:p></pre>
<pre>AUTOGEN_FLAGS="--ac=2.59 --am=1.9"<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I'm getting errors complaining about the Boost library. I attached the log. The first error you can find below. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Any ideas what I'm doing wrong here? I have not super user rights on my account.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>@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.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Henrik<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>CMake Error at /usr/lib64/boost/Boost.cmake:16 (ADD_LIBRARY):<o:p></o:p></pre>
<pre> add_library cannot create imported target "boost_date_time-static" because<o:p></o:p></pre>
<pre> another target with the same name already exists.<o:p></o:p></pre>
<pre>Call Stack (most recent call first):<o:p></o:p></pre>
<pre> /usr/lib64/boost/BoostConfig.cmake:28 (include)<o:p></o:p></pre>
<pre> /home/user/cmake-2.8.11.1/Modules/FindBoost.cmake:177 (find_package)<o:p></o:p></pre>
<pre> /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneBoost.cmake:12 (find_package)<o:p></o:p></pre>
<pre> /home/user/Code/Dune/dune-common-2.4/cmake/modules/FindBoostFusion.cmake:8 (include)<o:p></o:p></pre>
<pre> cmake/modules/DuneIstlMacros.cmake:2 (find_package)<o:p></o:p></pre>
<pre> /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneMacros.cmake:521 (include)<o:p></o:p></pre>
<pre> /home/user/Code/Dune/dune-common-2.4/cmake/modules/DuneMacros.cmake:664 (dune_process_dependency_macros)<o:p></o:p></pre>
<pre> CMakeLists.txt:24 (dune_project)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Dune mailing list<o:p></o:p></pre>
<pre><a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><o:p></o:p></pre>
<pre><a href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>