[petsc-users] MatMPIAIJSetPreallocation deadlocks

Stefano Zampini stefano.zampini at gmail.com
Fri Jul 18 12:36:40 CDT 2025


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.alinovi at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250718/2a4acdd8/attachment.html>


More information about the petsc-users mailing list