Re: [DuMux] 1D grid and MPI

2022-06-30 Thread Dmitry Pavlov
Dear Timo, Thank you. I will go ahead with the Newton.EnableShiftCriterion = 1 for now. Best regards, Dmitry On 6/30/22 13:51, Timo Koch wrote: Dear Dmitry, this is a known current bug (https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/864) There are some ideas for a fix

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Dmitry Pavlov
Etienne, Thank you. I just did what Timo advised (to follow your approach). It might be out of Dumux hands. If Dune doesn't handle recovering from the exception and deadlocks before we get back to Dumux, we cannot really do anything. Here is a paper about this general problem with MPI and

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Dmitry Pavlov
Timo, I just did, and wrote a reply there. Regards, Dmitry On 6/30/22 14:17, Timo Koch wrote: Dear Dmitry, thank you! Can you try if this https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3178 fixes your issue? Best Timo On 30 Jun 2022, at 13:14, Dmitry Pavlov

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Timo Koch
Dear Dmitry, thank you! Can you try if this https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3178 fixes your issue? Best Timo On 30 Jun 2022, at 13:14, Dmitry Pavlov mailto:dmitry.pav...@outlook.com>> wrote: Timo, Thank you. I filed a bug report:

Re: [DuMux] Turn parallel on and off

2022-06-30 Thread Timo Koch
Dear Ana, apologies for the very late answer, somehow I missed this. On 17 Jun 2022, at 09:27, Ana Carolina Loyola mailto:anacarolina...@gmail.com>> wrote: Dear Timo Thank you, that’s clear. What I am trying to do in my code is, before solving the system, Calling some external codes in

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Dmitry Pavlov
Timo, Thank you. I filed a bug report: https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/1171 Unfortunately, I can not prepare a proper test at present. Best regards, Dmitry On 6/30/22 13:55, Timo Koch wrote: Hi Dmitry, looks like you are running into a deadlock. Looks

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Timo Koch
Hi Dmitry, looks like you are running into a deadlock. Looks like a bug in the exception handler of the Newton (I assume https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/dumux/nonlinear/newtonsolver.hh#L548 is wrong because the exception cannot be assumed to be thrown on

Re: [DuMux] 1D grid and MPI

2022-06-30 Thread Timo Koch
Dear Dmitry, this is a known current bug (https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/864 ) There are some ideas for a fix but due to limited developer resources we are currently focussing on a

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Etienne Ahusborde
Hi Dmitry , We already had the same problem. We understood that it is due to some "DUNE_THROW" commands. Our solution (probably not the best) was to remove several "DUNE_THROW" commands and to replace them with a simple std::cout to keep the information that something is wrong. Regards