Hi Alexander,

I was able to get metis 5.x work with deal some time ago. I give my code to
Toby and ask him to add a patch but I suppose it was too busy with more
important work :-). Please find attached a lac/sparsity_tools.cc file which
works with step-17. It shows the basic differences between 4.x and 5.x
prototypes, together with a different header inclusion. You can use it to
build a patch with the actual development version.

Regards,
Stefano

2012/7/22 Alexander Grayver <[email protected]>

> On 21.07.2012 20:12, Wolfgang Bangerth wrote:
>
>> In general, I think METIS isn't on anyone's "most important" list any
>> more since we have the massively parallel framework that builds on p4est
>> and doesn't need METIS. We should of course continue to support METIS
>> nevertheless.
>>
>
> Hello Wolfgang,
>
> Am I right that if one wants distributed triangulation, dofhandler and
> solver one doesn't need metis at all? Then metis is just a part of the
> "local triangulartions + parallel solver" scheme, isn't it?
>
>
>  I suppose it would be ok if we drop support for 4.0 and only support 5.x.
>> Alexander, I don't know how familiar you are with autoconf but if you'd
>> like to play, do you want to give it a try to modify aclocal.m4 so that the
>> paths for METIS all fit those for 5.0? We'd certainly be happy to accept
>> patches that go in this direction (even if they're not completely finished
>> yet).
>>
>
> I was able to compile deal.II with metis-5.0.2 using attached path.
> However running step-17 there seem to be problems:
>
> agrayver@agrayver-VirtualBox:~**/lib/deal.II-dev/examples/**step-17$
> mpirun.mpich2 -n 2 ./step-17
> Cycle 0:
>    Number of active cells:       64
> Input Error: Incorrect ncuts.
> Input Error: Incorrect ncuts.
>    Number of degrees of freedom: 162 (by partition: 162+0)
>    Solver converged in 9 iterations.
> Cycle 1:
>    Number of active cells:       124
> Input Error: Incorrect ncuts.
> Input Error: Incorrect ncuts.
>    Number of degrees of freedom: 302 (by partition: 302+0)
>    Solver converged in 17 iterations.
> Cycle 2:
>    Number of active cells:       238
> Input Error: Incorrect ncuts.
> Input Error: Incorrect ncuts.
>    Number of degrees of freedom: 570 (by partition: 570+0)
>    Solver converged in 26 iterations.
> ...
>
> Two possibilities:
>
> 1. Most probably I did something wrong.
> 2. In metis-5.x there were some changes in functions interfaces. For
> instance, I came across with this issue trying to MUMPS with new metis-5.x
>
> Any ideas?
>
>
>  I'm sure you know that I'll be on visit at the GFZ on Tuesday, so if you
>> want to chat about specifics!
>>
>
> I do know, but unfortunately I'm going to a conference. This is very pity
> for me.
>
> --
> Regards,
> Alexander
>
>
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
>


-- 
Stefano

Attachment: sparsity_tools.cc
Description: Binary data

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to