[deal.II] new publication about the design of the deal.II library published

2020-12-21 Thread Timo Heister
Hi all, I would like to bring your attention to the publication The deal.II finite element library: design, features, and insights Computers & Mathematics with Applications, vol. 81, pages 407-422, 2021. https://doi.org/10.1016/j.camwa.2020.02.022 that just got published. As a user/developer of

Re: [deal.II] Re: Distribute local sparsity pattern

2020-12-21 Thread Zachary Streeter
Hi there, If the dynamic sparsity pattern is distributed to all the processes, should I expect to have the full sparsity pattern returned from the distribute_sparsity_pattern function? In other words, is the number of rows of dsp the local number of rows before the distribute function call

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Matthias Maier
Hi, No, the problem is much simpler. You have to reorganize your CMakeLists.txt so that you search for your libraries and add them to your link interface after the PROJECT() call and after the DEAL_II_INVOKE_AUTOPILOT CALL(). It is simplest to put everything last: # The default CMakeLists.txt

Re: [deal.II] Re: Distribute local sparsity pattern

2020-12-21 Thread Zachary Streeter
Okay, that makes sense. The PETSc error I am getting is the sum of the local lengths (10200) is larger than the global length (1020) so I think I need to just read the documentation more because it looks like I am just not using the API appropriately. Thank you, Zachary On Monday, December

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Wolfgang Bangerth
Animesh, I did exactly as you suggested. My package export cmake configurations. I am getting the following error and cant figure out the reason. It is not able to link the executable with the package. CMake Error at CMakeLists.txt:42 (TARGET_LINK_LIBRARIES):   Cannot specify link

Re: [deal.II] Re: Distribute local sparsity pattern

2020-12-21 Thread Wolfgang Bangerth
On 12/21/20 10:16 AM, Zachary Streeter wrote: Sorry, I should say the relevant elements are the same as the locally owned. That's true for cells but not for degrees of freedom. There may be DoFs that are located on the faces between locally owned and ghost cells. These may be owned by the

Re: [deal.II] Re: Distribute local sparsity pattern

2020-12-21 Thread Wolfgang Bangerth
On 12/21/20 9:57 AM, Zachary Streeter wrote: Thank you for your suggestion, this does seem helpful for me to tailor things for my needs.  One clarification, is locally_relevent = locally_owned if there are no ghost elements? Are there not always ghost elements if you have more than one MPI

Re: [deal.II] Re: Distribute local sparsity pattern

2020-12-21 Thread Zachary Streeter
Hi W., Thank you for your suggestion, this does seem helpful for me to tailor things for my needs. One clarification, is locally_relevent = locally_owned if there are no ghost elements? I am trying to debug the PETSc sparse matrix reinit segfault, I am not setting things up correctly with

[deal.II] Re: dealii installation Mac OS 10.15.5 (Catalina)

2020-12-21 Thread thodo...@gmail.com
Dear all I have downloaded deal.II.9.2.0-v3.dmg and installed on MacBook Pro (Catalina, Xcode 12.3). In terminal I use : module load dealii and everything went well. Initially there was a problem with the compiler path in the CMakeCache.txt which I fixed it. Then when I tried to compile and

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Animesh Rastogi IIT Gandhinagar
What I understood after struggling through the issue is that my cmakelists.txt is in autopilot style. In the autopilot style, it doesn't build the executable right away after doing "cmake .". It builds the executable after I run "make" command (as per my observation). I think this is why it is

Re: [deal.II] Using external libraries with deal.II

2020-12-21 Thread Animesh Rastogi IIT Gandhinagar
Dear Daniel and Prof. Bangerth, I did exactly as you suggested. My package export cmake configurations. I am getting the following error and cant figure out the reason. It is not able to link the executable with the package. CMake Error at CMakeLists.txt:42 (TARGET_LINK_LIBRARIES): Cannot