Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Thanks for your answer. > My personal option is to install the dmg, then recompile the library (to have the master version). So I have to install the dmg, even if I still have the library installed from GitHub with the command line procedure ? If so, once I installed the dmg successfully , h

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread luca.heltai
If you install the dmg package, and compile the library just like you did before *within the terminal that opens when you click on the deal.II app*, the compilation process would find correctly all the installed libraries. Best, Luca. > On 17 Mar 2021, at 10:08, bob bill wrote: > > Thanks fo

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
I compiled successfully the library within the deal.II app terminal. Then I compiled step-1, and after make run I obtain the following */usr/local/bin/deal_9.3.0-pre/include/deal.II/base/config.h:503:1: error: static_assert failed due to requirement '107000 == 10 * 1 + 100 * 74 + 0' "The ve

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Okay, here's what I did: - installed the .dmg file - I unpacked the .tar.gz 9.2.0 version and installed it in /usr/local/bin using the deal.II app terminal Now, *from within the deal.II app* terminal, I can compile and run *also* step-(40, 17, ...) both from: /Applications/deal.II.app/Contents

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Okay, here's what I did: 1) installed the .dmg file 2) I unpacked the .tar.gz 9.2.0 version and installed it in /usr/local/bin using the deal.II app terminal Now, *from within the deal.II app* terminal, I can compile step-40 and all the others that are located at /Applications/deal.II.app/Cont

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
After removing *CMakeCache.txt* and *CMakeFiles* folder in /examples/step-40, I can compile and run it, both within deal.II app terminal and with a common terminal. One last thing: are the steps I described above (.dmg + cloning) the usual way to install dealii with MacOS? It seems to me like

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread Luca Heltai
Dear Bob, The dmg package comes already with deal.II 9.2 installed, so your compilation is not necessary. As far as your problem is concerned, can you try to start from a clean directory? Remove everything except the cc file and the CMakeLists.txt file and try again. Step 40 works for me usi

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Great! I followed your suggestion and now it compiles and run (with a normal terminal and also within the deal.ii app terminal). Thanks so much for the check. > The dmg package comes already with deal.II 9.2 installed, so your compilation is not necessary. So far I have deal.II 9.2.0 installe

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread Luca Heltai
Il giorno 17 mar 2021, alle ore 18:30, bob bill ha scritto: > > So far I have deal.II 9.2.0 installed with .dmg, but also the "unnecessary" > installation in /usr/local/bin/deal_9.2.0 obtained with .tar.gz. > To remove the latter, is it sufficient to drag the deal_9.2.0 folder into > bin? Ye

Re: [deal.II] Installing dealii on MacOS and step-40: .dmg file or cloning the repo?

2021-03-17 Thread bob bill
Many thanks for your support! Everything is clear now :-) Il giorno mercoledì 17 marzo 2021 alle 20:39:27 UTC+1 luca@gmail.com ha scritto: > Il giorno 17 mar 2021, alle ore 18:30, bob bill ha > scritto: > > > > So far I have deal.II 9.2.0 installed with .dmg, but also the > "unnecessary"

Re: [deal.II] treatment of handing nodes in the heat conduction problem

2021-03-17 Thread Anton Ermakov
Thanks for the reply. I think I got it. Basically, I had to manually place the local matrices into the global matrix, without taking into account the hanging node constraints, which are later taken care of by *constraints.condense(system_matrix, system_rhs);* In the case of the mass matrix, I ha

Re: [deal.II] treatment of handing nodes in the heat conduction problem

2021-03-17 Thread Wolfgang Bangerth
On 3/17/21 10:41 PM, Anton Ermakov wrote: Thanks for the reply. I think I got it. Basically, I had to manually place the local matrices into the global matrix, without taking into account the hanging node constraints, which are later taken care of by /constraints.condense(system_matrix, system