[deal.II] Re: 2D circular mesh extrusion

2023-09-15 Thread Hadi Morovvatju
Hello again, Thank you so much for your help. Yes, you're totally right. The lethe code is accessible :) On Friday, 15 September 2023 at 15:04:19 UTC+3:30 blais...@gmail.com wrote: > Dear Hadi, > The Lethe code to generate all of these cylinders is fully available only. > Might as well just

Re: [deal.II] Re: question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread Bruno Turcksin
Timo, You will get vastly different results in debug and release modes for two reasons. First, the compiler generates much faster code in release mode compared to debug. Second, there are a lot of checks inside deal.II that are only enabled in debug mode. This is great when you develop your

Re: [deal.II] Re: question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread timo Hyvärinen
hi, Marc, Thank you for the reply. I compiled the lib with debug mode, didn't try the optimized version. I didn't think this could be a significant issue, but I infer optimized lib could improve performance alot based on your question. Sincerely, Timo On Fri, Sep 15, 2023 at 8:21 PM Marc

[deal.II] Re: question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread Marc Fehling
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

[deal.II] Re: question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread Marc Fehling
Hello Tim, > Yet, even though it is universally believed to be superior in terms of convergence properties, it is not widely used because it is often believed to be difficult to implement. One way to address this belief is to provide well-tested, easy to use software that provides this kind of

[deal.II] deal.II Newsletter #267

2023-09-15 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone! This is deal.II newsletter #267. It automatically reports recently merged features and discussions about the deal.II finite element library. ## Below you find a list of recently proposed or merged features: #15990: Simplify some code. (proposed by bangerth; merged)

Re: [deal.II] question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread timo Hyvärinen
Hi, Wolfgang, Thank you for your reply and suggestion. Your're right, I didn't conduct profiling yet. My commonly used test setup is 1 node (128 cores) with 128 tasks on it, 99% of assembly time came from this type of run. It's a bit surprising for me to be suggested not to use thread, but I

Re: [deal.II] question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread Wolfgang Bangerth
On 9/15/23 03:17, timo Hyvärinen wrote: 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

[deal.II] Re: 2D circular mesh extrusion

2023-09-15 Thread blais...@gmail.com
Dear Hadi, The Lethe code to generate all of these cylinders is fully available only. Might as well just reuse it :) Everything starts here: https://github.com/lethe-cfd/lethe/blob/master/source/core/grids.cc#L162 This should help you reproduce these kind of grids On Thursday, September 14,

[deal.II] question about hybrid MPI and TBB thread parallelism

2023-09-15 Thread timo Hyvärinen
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