[Dune] Read in matrix and rhs, solve linear system

Buesing, Henrik HBuesing at eonerc.rwth-aachen.de
Thu Aug 27 12:33:18 CEST 2015


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)



-- 
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
------------------------------------------------------
http://www.eonerc.rwth-aachen.de/GGE
hbuesing at eonerc.rwth-aachen.de
------------------------------------------------------


> -----Ursprüngliche Nachricht-----
> Von: dune-bounces+hbuesing=eonerc.rwth-aachen.de at dune-project.org
> [mailto:dune-bounces+hbuesing=eonerc.rwth-aachen.de at dune-project.org] Im
> Auftrag von Markus Blatt
> Gesendet: 27 August 2015 11:50
> An: dune at dune-project.org
> Betreff: Re: [Dune] Read in matrix and rhs, solve linear system
> 
> On Wed, Aug 26, 2015 at 07:22:50AM +0000, Buesing, Henrik wrote:
> 
> > I would like to test the algebraic multigrid method (AMG) implemented
> in Dune on some matrices I have. Is there an example program, which
> reads in a matrix and rhs and then solves it with AMG?
> 
> I do had some old code lying around that does (or at least did) this
> without AMG. You can find a polished version of it at
> https://github.com/blattms/dune-mm-amg Please note that there is neither
> tuning of the parameters included for your problem nor much source code
> documentation.
> 
> Cheers,
> 
> Markus
> 
> --
> Join us at the DUNE User Meeting Sept. 28-29, 2015, Heidelberg, Germany
> http://users.dune-project.org/projects/dune-user-meeting-2015/wiki
> 
> Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-
> blatt.de Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
> Tel.: +49 (0) 160 97590858
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150827/96590b79/attachment.txt>


More information about the Dune mailing list