Hello Tim,

> A simple timing tells me the assembly process of system-matrix takes 99% 
of the whole running time in every newton iteration.

Just to make sure: did you compile the deal.II library and your code in 
Optimized 
mode/Release mode <https://www.dealii.org/current/readme.html#configuration>
?

Best,
Marc


On Friday, September 15, 2023 at 3:17:39 AM UTC-6 Tim hyvärinen wrote:

> Dear dealii community and developers,
>
> I have used dealii framework (9.3.x) a while on HPC machine. My project 
> involves solving vector-valued nonlinear PDE with nine components.
> Currently, I've implemented damping newton iteration with GMRES+AMG 
> preconditioner with MPI on distributed memory architecture. 
>
> A simple timing tells me the assembly process of system-matrix takes 99% 
> of the whole running time in every newton iteration. I guess there are
> a lot of idle cpu times during assembly because I don't take advantage of 
> thread parallelism yet.
>
> So here is my question, which tutorial steps demonstrate how to 
> implement the mpi-thread hybrid parallelism. I've found step-48 is talking 
> about this, but 
> I wonder are there any other tutorial programs to look at? I also wonder 
> if any of you guys have suggestions about mpi+thread parallelism under
> dealii framework?
>
> Sincerely,
> Timo Hyvarinen 
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/dealii/632302e4-aa22-4ae8-af2a-7410a167f122n%40googlegroups.com.

Reply via email to