<div dir="ltr"><div>Hello,<br><br></div><div class="gmail_extra">I wrote a patch [0] in case METIS 5 is found. I also posted a comment in the bugtracker [1]. About the patch:<br><br></div><div class="gmail_extra">Below I paste a quote from METIS 5.1.0 manual regarding the migration issues (section 2.2.1):<br><br>"Since the calling sequence of all the API routines and in some cases their names has changed, migrating to the new API will require code modifications. To ensure that these modifications are minimal, the new API routines allow users to provide NULL as the argument to many of the parameters for which there are reasonable defaults"<br><br></div><div class="gmail_extra">Following this I used NULL(where possible) in the new METIS_PartGraphRecursive's parameters. Only one new parameter could not be set to NULL, it was "ncon" (second argument). In the manual it says: "ncon<br>The number of balancing constraints. It should be at least 1." so I used 1 as its value ( I am not sure though about its meaning).<br><br></div><div class="gmail_extra">In the current code the options passed to METIS_PartGraphRecursive have options[0]=0 which means that the default option values are used, so options[1], options[2], options[3] values are ignored. I also passed the options using the new layout, using the default values, same as the current code. I only manually added the METIS_OPTION_NUMBERING = numflag which is the same numflag 
parameter passed in the old version of METIS_PartGraphRecursive 
function.<code><br><br>METIS_PartGraphRecursive is not called elsewhere in the code. What is left to completely fix the existing issue with METIS 5.x.x? Also I just compiled my patch, I am not sure how else I can test my code for the moment.<br><br></code></div><div class="gmail_extra"><code>Kind regards,<br></code></div><div class="gmail_extra"><code>Emmanouil<br></code></div><div class="gmail_extra"><br>[0]: <a href="https://github.com/alamages/dune-istl/commit/87516d49485e7a8991235d503d1252b65568fd3e">https://github.com/alamages/dune-istl/commit/87516d49485e7a8991235d503d1252b65568fd3e</a><br>[1]: <a href="https://dune-project.org/flyspray/index.php?do=details&task_id=1212">https://dune-project.org/flyspray/index.php?do=details&task_id=1212</a><br><div class="gmail_quote">On Sun, Mar 22, 2015 at 12:44 PM, Christoph Grüninger <span dir="ltr"><<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de" target="_blank">christoph.grueninger@iws.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Emmanouil,<br>
welcome to Dune! Good to hear that you are interested in our<br>
project ideas and that you figured it out by yourself, how to<br>
configure Dune with ParMETIS.<br>
<br>
If you have additional questions, let us know.<br>
<br>
Bye<span class=""><font color="#888888"><br>
Christoph<br>
<br>
-- <br>
Je n'ai rien contre les étrangers, quelques uns de mes meilleurs amis<br>
sont des étrangers. Mais ces étrangers là ne sont pas de chez nous!<br>
[Agecanonix, Astérix - Le cadeau de César]<br>
</font></span></blockquote></div><br></div></div>