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

2020-10-07 Thread Praveen C
Here is an observation. I set DYLD_FALLBACK_LIBRARY_PATH=/path/to/spack/view/lib and run as ./step-40 then it runs fine. But if I use “make run”, then it cannot find libumfpack !!! Best praveen > On 02-Oct-2020, at 6:56 PM, 'Alexander Greiner' via deal.II User Group > wrote: > > Hi Jea

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

2020-10-02 Thread 'Alexander Greiner' via deal.II User Group
Hi Jean-Paul, thank you, thank you, thank you! I finally got it working! You're script worked with a few adaptions because I'm not using spack views. So I had to copy and paste quite many libraries, set the paths correctly, and then run it in several library directories of different packages w

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

2020-10-01 Thread Jean-Paul Pelteret
Hi Alexander,I am, unfortunately, marginally acquainted with the problem that you’re facing. I’m not 100% sure, but I believe that this is an upstream problem that has to do with how these packages are configured for Apple systems. I too noticed that within a couple of update cycles SuiteSparse, fo

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

2020-09-29 Thread Praveen C
I notice that you are using cmake from /opt/local/bin, but spack would have installed its own cmake. Could you try using cmake from spack to compile and then run the example ? best praveen > On 29-Sep-2020, at 7:35 PM, 'Alexander Greiner' via deal.II User Group > wrote: > > Hi Luca, > > I ra

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

2020-09-29 Thread Luca Heltai
Dear Alex, what happens after loading dealii with `spack load dealii`, if you try to build (from scratch) `step-40`? Can you send us the output of cmake and make? Luca. On Mon, Sep 28, 2020 at 4:46 PM 'Alexander Greiner' via deal.II User Group < dealii@googlegroups.com> wrote: > Hi Luca, > >

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

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

2020-09-23 Thread 'Alexander Greiner' via deal.II User Group
Hi, I'm new here (and also relatively new to deal.II). I'm trying to install dealii@9.2.0 from spack, running into errors. These errors are not directly linked to deal.II and therefore I'm not sure if this is the right place to post my problem. Unfortunately, clang@12.0.0 and Xcode12.0 seem to