Re: [deal.II] Function apply_boundary_values()

2020-09-28 Thread Xuefeng Li
On Sun, Sep 27, 2020 at 10:33 PM Wolfgang Bangerth wrote: > On 9/25/20 4:15 PM, Xuefeng Li wrote: > > > > For step-26, because system_rhs depends on time and time_step, we need > to > > assemble system_rhs in the loop. We therefore > > need to call apply_boundary_values() inside the loop. Here is

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-28 Thread Bruno Turcksin
Animesh, Yes, the name are reversed. Basically what happens is that ARPACK uses a method called shift inverse which uses the inverse of the operator you care. In practice, this means that ARPACK is not using your matrix A but only A^{-1} because the largest eigenvalue of A^{-1} is related to th

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread 'Alexander Greiner' via deal.II User Group
Hi Luca, I installed environment-modules and currently have the following lines in my .bash_profile: ### dealii 9.2 ### SPACK_ROOT=/Users/alexandergreiner/spack export PATH=$SPACK_ROOT/bin:$PATH MODULES_HOME=$(spack location -i environment-modules) source ${MODULES_HOME}/init/zsh . $SPACK_ROOT/s

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread luca.heltai
My suggestion is to install also environment-modules, and then use spack load dealii This will popolate DYLD_LIBRARY_PATH with the correct values and allows your cmake to find all libraries. Unfortunately, recent updates to spack have made its functionality a bit clumsy in Mac OS... L. > On

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread 'Alexander Greiner' via deal.II User Group
Hi, thanks for your suggestions. Yes, Trilinos is installed by spack and ls `spack location -i trilinos`/lib/libmuelu* shows me the correct paths to the libmuelu libraries. I also enabled Full Disk Access for Terminal.app and restarted the App as described. Still, the libraries are not linked

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread Praveen C
No, you dont have to recompile deal.II for what I am suggesting. I suppose that lib is installed by spack, have you checked ls `spack location -i trilinos`/lib/libmuelu* Not sure if this will help, but Have you enabled Full Disk Access for Terminal.app If not, can you enable it and try. See t

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread 'Alexander Greiner' via deal.II User Group
Hi Praveen, "Stupid" question beforehand: Do I have to reinstall deal.II? If yes, you can skip the remainder. If no, I did the following: I added that line to my ./bash_profile opened a new terminal window and executed source ./bash_profile spack load dealii cd spack/opt/.../deal.II/examples/s

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread Praveen C
I am not sure my solution will work in your case. I use spack view to install symlinks into /opt/spack Then I compile deal.II myself using dependencies installed in /opt/spack Setting DYLD path to /opt/spack/lib then works for me, otherwise I too get those library not found errors when running

Re: [deal.II] install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread Praveen C
Try adding path to you spack lib, like this export DYLD_FALLBACK_LIBRARY_PATH=/opt/spack/lib I add this to my $HOME/.profile file. Best praveen > On 28-Sep-2020, at 2:21 PM, 'Alexander Greiner' via deal.II User Group > wrote: > > Hi Wolfgang, > > at least I could not find a log file, but yo

Re: [deal.II] Re: install problems with clang@12.0.0 and Xcode12.0 from spack

2020-09-28 Thread 'Alexander Greiner' via deal.II User Group
Hi Wolfgang, at least I could not find a log file, but your hint encouraged me to find another solution. So I ran spack with -d and -v options to print out more information directly to the terminal. As you predicted, there was an error (attached) that seems to be related to the ginkgo package.