[petsc-users] MatAssemblyEnd taking too long
Stefano Zampini
stefano.zampini at gmail.com
Thu Aug 20 11:21:10 CDT 2020
> On Aug 20, 2020, at 5:59 PM, Manav Bhatia <bhatiamanav at gmail.com> wrote:
>
>
>
>> On Aug 20, 2020, at 8:31 AM, Stefano Zampini <stefano.zampini at gmail.com <mailto:stefano.zampini at gmail.com>> wrote:
>>
>> ((Mat_SeqAIJ*)aij->B->data)->nonew
>> mat->was_assembled
>> aij->donotstash
>> mat->nooffprocentries
>>
>
> The values for the last three variables are all False on all 8 processes.
Thanks, it seems a bug in MPI or on our side. As Matt said, can you run with -matstash_legacy? Also, make sure to run with a debug version of PETSc (configure using —with-debugging=1).
How feasible is to write a driver code to run with the same mesh, same discretization and same equations to solve but with the matrix assembly only? Does it hang in that case too?
>
> Regards,
> Manav
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200820/676282c2/attachment.html>
More information about the petsc-users
mailing list