[deal.II] What do the AffineConstraints::distribute_local_to_global(...) functions do on a matrix/vector level?

2023-07-20 Thread Kyle Schwiebert
Hello all, Thank you for taking the time to look at my question. First, I'll ask a couple of basic questions about the built-in functions, and then I'll give a few details of why I ask. Does the inhomogeneity-handling call distribute_local_to_global(...,false) do the following: Say that we

Re: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread Bruno Turcksin
You are using Cray that explains a lot. Cray does its own thing with MPI. If it's possible, you can use a "regular" MPI compiler instead of CC. Otherwise, you should be able to compile Kokkos using the cray compiler directly, i.e., you don't use `nvcc_wrapper`. Bruno Le jeu. 20 juil. 2023 à

R: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread Giuseppe Orlando
Yes, I’m inside a clean directory. The output of mpicxx is “/opt/cray/pe/craype/2.7.10/bin/CC”, which is the same that I used to install all the other versions. The cmake version is 3.17.0. Best Giuseppe Orlando Da: Bruno TurcksinInviato: giovedì 20 luglio 2023 17:47A:

Re: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread Bruno Turcksin
A few questions: are you configuring inside a clean directory? What's the output of mpicxx? Which version of cmake are you using? Le jeu. 20 juil. 2023 à 11:11, giuseppe orlando a écrit : > I agree. I had tried to set -DMPI_CXX_COMPILER flag, but it seems to be > ineffective. It keeps using

Re: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread Bruno Turcksin
What's strange is that when deal.II tries to compile an MPI code, it is using `nvcc_wrapper` as the compiler instead of `mpicxx`. Can you try to set `-DMPI_CXX_COMPILER=mpicxx`? Bruno Le jeu. 20 juil. 2023 à 10:21, giuseppe orlando a écrit : > Here, you can find both 'CMakeError.log' and

Re: [deal.II] Q: Question about extracting part of a vector

2023-07-20 Thread Daniel Arndt
Najwa, the relevant code reads something like const unsigned int n_components = dof.get_fe(0).n_components(); AssertDimension(exact_solution.n_components, n_components); if (weight != nullptr) { Assert((weight->n_components == 1) ||

Re: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread Bruno Turcksin
Giuseppe, CMake should create an error log. Can you post it? Best, Bruno Le jeu. 20 juil. 2023 à 04:51, giuseppe orlando a écrit : > Dear Bruno, > I tried to reinstall Kokkos removing the -DCMAKE_CXX_FLAGS option, but I > get the same error during the creation of the Makefile for deal.II. I

Re: [deal.II] point_value for a vector-valued Problem / FESystem

2023-07-20 Thread Simon Sticko
Hi. There are several point_value functions. Right now, you are calling one that only works for scalar elements: https://www.dealii.org/current/doxygen/deal.II/namespaceVectorTools.html#a7be5c7eed52308898dfaad91c4cff204 You need to call the more general function:

[deal.II] point_value for a vector-valued Problem / FESystem

2023-07-20 Thread 'Jost Arndt' via deal.II User Group
Dear everyone, I have trouble understanding in how to evaluate a solution at a given point correctly. Described in Step-3 for example the function point_value is used to evaluate the solution at (0.3, 0.3), and I want to do something quite similar. However, my solution is vector valued (i.e. I

[deal.II] Re: Error evaluating derivative of abs() function using symbolic differentiation

2023-07-20 Thread Vinayak Vijay
Thanks, I'll implement the function in a different way then. Regards Vinayak On Monday, July 17, 2023 at 6:26:17 PM UTC+5:30 bruno.t...@gmail.com wrote: > Vinayak, > > The error is pretty explicit, the function is not implemented in > SymEngine. Maybe it is fixed in a newer version of

Re: [deal.II] Q: Question about extracting part of a vector

2023-07-20 Thread Najwa Alshehri
Hello again, I have a follow-up question. Does this ComponentSelectFunction work also with vectors that are not written as blocked vectors? I have applied it before when I was dealing with blocked vectors and it worked perfectly. So, I did this, const ComponentSelectFunction

Re: [deal.II] Re: Compilation deal.II 9.5

2023-07-20 Thread giuseppe orlando
Dear Bruno, I tried to reinstall Kokkos removing the -DCMAKE_CXX_FLAGS option, but I get the same error during the creation of the Makefile for deal.II. I will try to figure out which might be the problem in the follwing days. Best, Giuseppe Il giorno mercoledì 19 luglio 2023 alle 19:36:53

Re: [deal.II] Q: Question about extracting part of a vector

2023-07-20 Thread Najwa Alshehri
Thank you Daniel for the clear quick answer. I will follow it. Best, Najwa On Wednesday, July 19, 2023 at 5:16:14 PM UTC+3 d.arnd...@gmail.com wrote: > Najwa, > > The documentation of VectorTools::integrate_difference( >