Alex,

I would expect that to work assuming that the input matrix is
initialized correctly. What does the error/crash in debug mode look
like?

Best,
Daniel

On Mon, Mar 17, 2025 at 11:26 AM Alex Quinlan <alex.r.quin...@gmail.com> wrote:
>
> Just checking if this has changed at all over the past few years.  Is there a 
> way to run MatrixCreator::create_mass_matrix with MPI?
>
> It's running fine for me when I use -np 1 , but -np 2 or more causes a crash. 
>  I don't see any way to pass in the locally_owned_dofs, so I'm assuming not, 
> but I thought I'd double check if there's another recommended approach.
>
> Thanks,
> Alex
> On Thursday, July 5, 2018 at 1:45:26 PM UTC-4 bruno.t...@gmail.com wrote:
>>
>> Jonathan,
>>
>>
>> On Thursday, July 5, 2018 at 1:36:44 PM UTC-4, mrjonm...@gmail.com wrote:
>>>
>>> I noticed the documentation for MatrixCreator::create_mass_matrix, claims 
>>> the following:
>>>
>>> "If the library is configured to use multithreading, this function works in 
>>> parallel."
>>>
>>> It seems like this is not set up to work with a distributed triangulation 
>>> though, is that correct?
>>
>> That's correct. You will need to do assemble the mass matrix yourself.
>>
>> Best,
>>
>> Bruno
>
> --
> 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 dealii+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/dealii/2fd71d6b-d493-4b50-ac68-b18dbe5b8f7an%40googlegroups.com.

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/CAOYDWb%2B1g8VU6X7wBDjeQ%3D%2BCjyMR5BYc9DKowLGQBAkbkcbHaw%40mail.gmail.com.

Reply via email to