[Dune] load balancing with dune-alugrid

Martin Nolte nolte at mathematik.uni-freiburg.de
Thu Jul 16 09:39:30 CEST 2015


Hi Alex, hi all,

on first glance, it looks like HAVE_METIS is not set in any config.h.cmake 
(unlike HAVE_PARMETIS). I would expect it to be set in dune-common.

Best,

Martin

On 07/16/2015 09:31 AM, Alexander Kissinger wrote:
> Dear Andreas,
>
> thanks for your reply. HAVE_METIS is not set in my config.h (see file attached).
> So something must go wrong for my case between cmake finding metis and the
> creation of the config.h?
>
> best regards
> Alex
>
> On 07/15/2015 08:46 PM, Andreas Dedner wrote:
>> Konsole output
>> Hi.
>> To answer your main question: yes the metis bindings should work.
>> Since you are reaching the error message you attach which is in
>>   dune/alugrid/impl/parallel/alumetis.hh
>> it seems that HAVE_METIS is not set in your config.h file. So first thing to check
>> is if HAVE_METIS is set or not.
>> Best
>> Andreas
>>
>>
>> On 15/07/15 18:24, Alexander Kissinger wrote:
>>> Dear Dune,
>>>
>>> I am using Dumux and I want to run parallel simulations on our cluster using
>>> dune-alugrid as a grid manager. When I use the internal load balancing
>>> methods of dune-alugrid I notice when looking at the ranks in my vtu ouput
>>> that partitioning only takes place in one spatial direction. Back when
>>> ALUGrid was an external module I used ParMetis for load balancing and was
>>> happy with it.
>>> I am a bit confused about what options I actually have with dune-alugrid.
>>> Looking at the alugrid.cfg-file I see that besides the the internal methods
>>> there still exist METIS_PartGraphKway and METIS_PartGraphRecursive.
>>>
>>> I tried the following:
>>> 1) installing METIS-5.1.0, according to the cmake log (see attached)
>>> dune-alugrid finds Metis. However when running a simulation and setting
>>> METIS_PartGraphKway or METIS_PartGraphRecursive in the cfg file I get the error:
>>>
>>> **ERROR The use of METIS_PartGraphRecursive is not supported, when the METIS
>>> library is missing!  in:
>>> /nfs/home_simtech/iwskissi/DUMUX_DUNE_TRUNK/dune-alugrid/dune/alugrid/impl/parallel/alumetis.hh
>>> line: 137
>>> **INFO Due to license reasons the library METIS is
>>>        not part of the ALUGrid library distribution.
>>>        To use this feature get a copy of the METIS library
>>>        (see http://www-users.cs.umn.edu/~karypis/metis/metis/ )
>>>        and re-configure the ALUGrid library with the
>>>        --with-metis=PATH_TO_METIS option,
>>>        or choose another Graph partitioning method.
>>>        Exiting program, bye!
>>>
>>> 2) I also tried installing ParMETIS 3.2 with its version of Metis which leads
>>> to the same error (I have not attached the cmake log).
>>>
>>> - Are METIS_PartGraphKway and METIS_PartGraphRecursive still working with
>>> dune-alugrid?
>>> - Is ParMETIS only working in combination the package ZOLTAN now?
>>>
>>> I would appreciate any advice on what might be a promising way to go. I also
>>> tried using ZOLTAN with ParMETIS, but this I think this mail is already long
>>> enough :-)
>>>
>>> The system I use is:
>>> gcc-4-9-3
>>> openmpi 1.8.6
>>> trunk version of all dune modules (including dune-alugrid)
>>> trunk version of dumux
>>> METIS 5.1.0
>>> ParMETIS 3.2
>>>
>>> Thank you!
>>>
>>> Best regards
>>> Alex
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Dune mailing list
>>> Dune at dune-project.org
>>> http://lists.dune-project.org/mailman/listinfo/dune
>>
>
>
> --
> Alexander Kissinger
> Institut für Wasser- und Umweltsystemmodellierung
> Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
> Pfaffenwaldring 61
> D-70569 Stuttgart
>
> Telefon: +49 (0) 711 685-64729
> E-Mail:alexander.kissinger at iws.uni-stuttgart.de
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list