[deal.II] Re: Automatic Differentiation for step-74 - get_average_of_gradients_from_local_dof_values

2025-08-06 Thread Nik Markus Leuenberger
medium diffusion equation (https://en.wikipedia.org/wiki/Porous_medium_equation) and will be happy to share the code if I succeed. Thank you very much for your understanding and best regards, Nik On Tuesday, August 5, 2025 at 4:18:13 AM UTC-7 Nik Markus Leuenberger wrote: > Dear all, > >

[deal.II] Automatic Differentiation for step-74 - get_average_of_gradients_from_local_dof_values

2025-08-05 Thread Nik Markus Leuenberger
Dear all, I have a question regarding an *extension* of step.74. Eventually, I would like to solve a non-linear Poisson equation using DG elements. I would also like to use automatic differentiation to obtain the Jacobian from the Residual as in step-72. To start, I wanted to solve the linea

[deal.II] Re: shmem: mmap: shared memory error on Mac OS

2025-03-12 Thread Nik Markus Leuenberger
Dear Bruno, Thank you very much for your reply and apologies for my late reply. I think that was exactly the issue. After upgrading to open-mpi 5.0.7, the problem seems to be gone. Thanks again and best regards, Nik On Thursday, February 6, 2025 at 6:37:59 AM UTC-8 bruno.t...@gmail.com wrote:

[deal.II] shmem: mmap: shared memory error on Mac OS

2025-01-17 Thread Nik Markus Leuenberger
Dear all, Thanks to your help earlier, I was able to compile my program on the Mac ARM-machine using clang. However, when I execute the program from the command line using ./program, I get the following kind of strange error: [] shmem: mmap: an error occurred while determining whether or not

[deal.II] Re: Get MueLu of Trilinos working on arm-based Mac Book M4

2025-01-09 Thread Nik Markus Leuenberger
Dear Daniel, Thank you very much for your answer. I was indeed able to find a more detailed report of what was going wrong during the deal.ii test for MueLu by searching exactly as you mentioned. Thank you and best regards, Nik On Wednesday, January 8, 2025 at 7:26:00 PM UTC+1 d.arnd...@gmail.c

[deal.II] Re: Get MueLu of Trilinos working on arm-based Mac Book M4

2025-01-09 Thread Nik Markus Leuenberger
Dear James, Thank you very much for your very kind and detailed reply. Using your recommendations, I managed to install Trilinos + MueLu working with deal.ii master. Thank you very much for your help with this! The only thing I had to change from the default recipe here https://github.com/deal

[deal.II] Get MueLu of Trilinos working on arm-based Mac Book M4

2025-01-08 Thread Nik Markus Leuenberger
Dear User Group, I recently got a new Apple arm-based M4 laptop running Mac OS Sequoia. My previous laptop was running Windows and using the Windows Subsystem for Linux, I managed to install deal.ii together with all the packages I would like to use. Now, I tried to install deal.II on the new

Re: [deal.II] Getting cmake errors compiling programs

2024-11-21 Thread Nik Markus Leuenberger
Dear Alexander and Vinayak, I also used spack for the installation and for me, something similar (the same?) happend. Running simply cmake . gives the following error. *$ cmake .* -- Check for working CXX compiler: /home/~/spack/lib/spack/env/gcc/g++ - broken CMake Error at /usr/local/share/c

[deal.II] Re: Distributed Block-Gauss-Seidel (BGS) Preconditioning

2024-09-06 Thread Nik Markus Leuenberger
Quick update on the post above after some more reading of the documentation - I apologize that I didnt't wait with the post until I had fully read into these things. On Thursday, September 5, 2024 at 11:43:18 PM UTC+2 Nik Markus Leuenberger wrote: Dear all, It has been a very nice exper

[deal.II] Distributed Block-Gauss-Seidel (BGS) Preconditioning

2024-09-05 Thread Nik Markus Leuenberger
Dear all, It has been a very nice experience over the summer beginning to learn deal.ii and *mis*using it for my finite volume calculations. In the meantime, I have a distributed code for the sparse matrix assembly using MPI. So the next challenge :) is to have an efficient/scalable way of sol

Re: [deal.II] Automatic Differentiation together with boundary_worker (step-72 + step-74)

2024-07-11 Thread Nik Markus Leuenberger
k Best, Jean-Paul On Tue, 9 Jul 2024 at 05:17, Wolfgang Bangerth wrote: On 7/8/24 08:51, Nik Markus Leuenberger wrote: > > I'm opening a new thread because the question is no longer whether or how to > use deal.ii for DG/finite volume implementations, but what I hope is a mor

[deal.II] Automatic Differentiation together with boundary_worker (step-72 + step-74)

2024-07-08 Thread Nik Markus Leuenberger
Dear all, I'm opening a new thread because the question is no longer whether or how to use deal.ii for DG/finite volume implementations, but what I hope is a more specific question regarding a combination of step-74 and step-72. I want to use automatic differentiation to obtain the Jacobian for

Re: [deal.II] Finite Volume Method - Matrix/RHS assembly

2024-06-28 Thread Nik Markus Leuenberger
Dear Prof. Bangerth, Dear Abbas, Thank you very much again for your fast responses and apologies for my late reply. Further below are some small comments on your answers. However, rather than trying to make the DG version work in 1D and using 0-order elements, I think I would like to proceed as

Re: [deal.II] Finite Volume Method - Matrix/RHS assembly

2024-06-21 Thread Nik Markus Leuenberger
Dear Abbas, Dear Prof. Bangerth, Thank you very much for your fast replies to my post. I'm sorry for not having found step-74 myself before. step-74 is I think indeed what I am looking for: However, when I played around with step-74, I ran into the following two issues: (1) trying to

[deal.II] Finite Volume Method - Matrix/RHS assembly

2024-06-19 Thread Nik Markus Leuenberger
Dear all, I'm new to deal.ii and I would like to use it to gradually build a simulator for charge/mass transport inside batteries. Since the equations I'm trying to solve are conservations laws, I would like to use a finite volume type of implementation. I know that deal.ii is a finite element