On 12/8/20 2:08 PM, Zachary 42! wrote:
>
> I want to create a PETSC matrix across multiple nodes using MPI. This should be simply finding the appropriate local index within my loops and build up the matrix. What are some of the functionalities I should look into for this? There are multiple “partition” so I thought it would be quicker to just ask.
>
> There is also potentially needing to send ghost elements to neighboring ranks so any suggestions with that using these PETSC matrices would be appreciated!
That's all handled automatically. Take a look at step-40 or, in fact, any of
the other tutorial programs that run in parallel.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/