[petsc-dev] Infinite loop in A*B

Pierre Jolivet pierre at joliv.et
Sun Feb 28 16:17:27 CST 2021


Hello,
The following MWE loops indefinitely for MPI_Comm_size in {2; 3}.
Nothing fancy, just MatAIJ and MatDense.
The problem is either in MatMPIDenseScatter() or MatMatMultSymbolic_MPIAIJ_MPIDense(), I believe, so if someone familiar with those routines can figure out a hot fix, I’m all ears.
I could of course switch to a MatMult(), but the same infinite loop happens in another more complex code with
A = rows=8, cols=35212
B = rows=35212, cols=9
So I’ll need a fix eventually.

Thanks,
Pierre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: matmatmult.c
Type: application/octet-stream
Size: 1156 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210228/47f2f628/attachment.obj>


More information about the petsc-dev mailing list