I'm really sorry for the lack of professionally here, but I was really lost. Even by using the JetBrains' CLion debugger, with the newly learned trick of file-based trigger and attaching the debugger to one of the processes, I hadn't got an answer.
But now I *solved it*. The fix consists in calling just before this->triangulation->prepare_coarsening_and_refinement(); After that it works smoothly. I hadn't seen this in tutorials like step-40, I though prepare_coarsening_and_refinement() was meant to be used only before doing SolutionTransfer, should it always be called in parallel triangulations? Thanks a lot if anybody wants to clear to me this theoretical doubt, otherwise case closed :) Best, Matteo Il giorno lunedì 3 febbraio 2025 alle 18:25:50 UTC+1 Wolfgang Bangerth ha scritto: > On 2/3/25 10:15, Matteo Malvestiti wrote: > > But here it breaks... sometimes. > > > > Let me explain my bewilderment: > > It may go well for 6 refinement cycles and break at the 7th. > > > > Does anybody have any hint at what I should investigate to figure out > the problem? > > A good starting point is to clearly articulate what happens. "it breaks" > is > not a useful starting point for debugging :-) Presumably, there is some > error > message, or other information that can help find the cause. I assume > you've > also run the program in a debugger? > > Best > W. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/dealii/698f718f-0d6a-4085-b5d8-de1426585015n%40googlegroups.com.