Hi,

These lines in laplace_cell()  (especially the reinit function) may cause
MPI to stuck,
LA::MPI::Vector evant_solution;

evant_solution.reinit(locally_owned_dofs,
locally_relevant_dofs,
mpi_communicator);
I cannot figure out why you need them. Is this a typo?

Junxiang Wang <[email protected]> 于2024年10月10日周四 22:47写道:

> Dear  Prof. Timo Heister and  Wolfgang Bangerth
>
> I am trying to solve my multiphysics problem by deal.ii and it's
> paralization.
>
> I started from STEP-40 and encountered a problem regarding paralization
> and MPI.
>
> The program didn't proceed after I made a subroutine called
>
>              laplace_cell(cell,
>                                  cell_matrix,
>                                  cell_rhs);
>
> within the assemble_system() function.
>
> I am wondering if you can help me to debug or if you may know if there is
> any wrong with the modification I have made.
>
> I have attached the modified *.cc file.
>
> Thanks a lot and hope to hear from you soon.
>
> Best regards,
>
> Junxiang.
>
> --
> 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/9b2ea27f-0179-485e-9d8c-5da45096b328n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/9b2ea27f-0179-485e-9d8c-5da45096b328n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA4OmtXM2fd0aYk8Ui7LgNGndoOsE2VBi5jq3jyUtEn%2B10c_ag%40mail.gmail.com.

Reply via email to