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:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/aa866ae2-9424-46b9-2873-17b2a2686494%40colostate.edu.

Reply via email to