On Wed, Jan 14, 2026 at 12:13 PM Micol Bassanini via petsc-users <
[email protected]> wrote:

> Dear User Support Team,
> I have a question regarding my project.
> I would like to compute a matrix product between a DMDA matrix that is
> distributed across multiple ranks and a dense matrix that is available on
> only a single processor. What is the recommended or standard approach for
> implementing this kind of operation?
>
It sounds like you should distribute your dense matrix. You might do it
using MatSetValues(), or MatCreateSubmatrix().

  Thanks,

     Matt

> Thank you in advance for your help.
> Best regards,
> Micol
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!d6GQrZ5VUzxJEZ4hXZgXG8TrQNNtN-ZE3lm4bZVNzzLNU388FLqczz7lHcXEKa2F8LI0nctKw_i09TOCXD86$
  
<https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!d6GQrZ5VUzxJEZ4hXZgXG8TrQNNtN-ZE3lm4bZVNzzLNU388FLqczz7lHcXEKa2F8LI0nctKw_i09T6PUbnU$
 >

Reply via email to