[Dune] load balancing with dune-alugrid

Andreas Dedner a.s.dedner at warwick.ac.uk
Wed Jul 15 20:46:25 CEST 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150715/da8d9a97/attachment.htm>


More information about the Dune mailing list