Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Tao Jin
Dear Wolfgang, Thanks for the advice! Best, Tao On Friday, April 19, 2024 at 11:58:33 PM UTC-4 Wolfgang Bangerth wrote: > On 4/19/24 21:54, Tao Jin wrote: > > > > Now that my LinearOperator is defined as B_0 + W * M * W^T, I only need > to > > find an appropriate iterative solver that can s

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
On 4/19/24 21:54, Tao Jin wrote: Now that my LinearOperator is defined as B_0 + W * M * W^T, I only need to find an appropriate iterative solver that can solve the inverse of this operator (the underlying matrix is fully dense) efficiently. It is entirely unimportant that the matrix is dense

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Tao Jin
Dear Wolfgang, What you said makes sense. Now that my LinearOperator is defined as B_0 + W * M * W^T, I only need to find an appropriate iterative solver that can solve the inverse of this operator (the underlying matrix is fully dense) efficiently. Best, Tao On Friday, April 19, 2024 at 1

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
On 4/19/24 19:42, Tao Jin wrote: Thank you so much for your reply. I think my problem has two potential issues: 1. W * M * W^T will be an n by n fully dense matrix with n > 100k. Even if it is valid to use LinearOperator to perform W * M * W^T, will memory required to store this operator be an

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Tao Jin
Hi Wolfgang, Thank you so much for your reply. I think my problem has two potential issues: 1. W * M * W^T will be an n by n fully dense matrix with n > 100k. Even if it is valid to use LinearOperator to perform W * M * W^T, will memory required to store this operator be an issue? 2. I still ha

Re: [deal.II] CMAKE Warnig: no source or binary provided

2024-04-19 Thread Matthias Maier
The problem is that you do not have a working compiler installed. If this is an Ubuntu try to run: $ sudo apt install gcc g++ gdb make ninja-build to get a working toolchain. You might also be interested in the clang toolchain: $ sudo apt install clang-format clangd clang Best, Matthias

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
On 4/18/24 12:06, Tao Jin wrote: I am developing a quasi Newton solver in deal.ii. During each iteration, I need to solve a linear system B * x = p, where the matrix B has the following form: B = B_0 + W * M * W^T. B_0 is an n by n sparse matrix (n is large > 100k); M is a m by m *full matrix

Re: [deal.II] CMAKE Warnig: no source or binary provided

2024-04-19 Thread Wolfgang Bangerth
On 4/19/24 15:56, Adnan wrote: Fixing CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE:PROGRAm ist not set. You probably need to select a different build tool. CMAKE_CXX_Compiler not set after enablelanguage. Adnan: can you remove everything in your build

Re: [deal.II] Minimal deal.ii application loads many surprising dynamic libraries on macos

2024-04-19 Thread Wolfgang Bangerth
On 4/19/24 16:11, Jack Coughlin wrote: In my case, I was actually careful to compile deal.ii ONLY against MPI, so there are only seven direct deps, mostly from my homebrew installation of openmpi. But after figuring out the correct tooling to do this on macos and digging a little more, it see

Re: [deal.II] Minimal deal.ii application loads many surprising dynamic libraries on macos

2024-04-19 Thread Jack Coughlin
Wolfgang, Thank you for the reply, I'm glad to see that the developers are keeping an eye on dependencies and startup time. In my case, I was actually careful to compile deal.ii ONLY against MPI, so there are only seven direct deps, mostly from my homebrew installation of openmpi. But after fi

Re: [deal.II] CMAKE Warnig: no source or binary provided

2024-04-19 Thread Adnan
Hi, i have failed again to install it with this erorr: Fixing CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE:PROGRAm ist not set. You probably need to select a different build tool. CMAKE_CXX_Compiler not set after enablelanguage. How can i resolve this is

Re: [deal.II] Minimal deal.ii application loads many surprising dynamic libraries on macos

2024-04-19 Thread Wolfgang Bangerth
On 4/18/24 23:29, Jack Coughlin wrote: As I say, I don't understand the issue well enough to know if there is anything I or the deal.ii developers can do about it! In any case, 0.25s is a very small price to pay for so much functionality and expressiveness. Jack, I appreciate the qualificati

[deal.II] deal.II Newsletter #281

2024-04-19 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone! This is deal.II newsletter #281. 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: #16904: Use the same style of anchor name as elsewhere. (proposed by ba