Causes for deadlock of this type are usually memory corruption or calling collectives in two different places. You should try with a debug version of the library first, then try valgrind or address sanitizer compilation flags
Stefano On Fri, Jul 18, 2025, 19:20 Edoardo alinovi <edoardo.alin...@gmail.com> wrote: > Hello Petsc friends, > > Hope you are all doing well. > > Today I was doing a simulation (27Mln cell on 64 cores) and I came across > an issue. Indeed, I am deadlocking somewhere in *MatMPIAIJSetPreallocation. > D*o you have any clue about the reason for this? Any suggestions to track > this down? > > Many thanks, > > Edo >