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, > > 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/share/spack/setup-env.sh > > After spack load dealii, spack find --loaded shows (attached). > > But, echo $DYLD_LIBRARY_PATH shows nothing. Do I have to pay attention to > something due to its clumsiness? Is there any further helpful > information/files that I can provide to you? > I highly appreciate the help I am receiving from all of you! > > Regards > Alex > luca....@gmail.com schrieb am Montag, 28. September 2020 um 14:23:46 > UTC+2: > >> 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 28 Sep 2020, at 13:40, 'Alexander Greiner' via deal.II User Group < >> dea...@googlegroups.com> wrote: >> > >> > 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 properly. >> > >> > Best >> > Alex >> > >> > Praveen C schrieb am Montag, 28. September 2020 um 13:08:14 UTC+2: >> > 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 this >> > >> > >> https://macperformanceguide.com/blog/2020/20200208_2004macOS-Catalina-add-fullDiskAccess-Terminal.html >> > >> > best >> > praveen >> > >> > >> >> On 28-Sep-2020, at 3:53 PM, 'Alexander Greiner' via deal.II User Group >> <dea...@googlegroups.com> wrote: >> >> >> >> 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/step-1 >> >> cmake . (I removed all previously generated "make"-files to obtain the >> initial directory content of step-1) >> >> make run >> >> Unfortunately, libmuelu is still not found. I attached a printout of >> my environment variables, if this might help... >> > >> > >> > -- >> > The deal.II project is located at http://www.dealii.org/ >> > For mailing list/forum options, see >> https://groups.google.com/d/forum/dealii?hl=en >> > --- >> > You received this message because you are subscribed to the Google >> Groups "deal.II User Group" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to dealii+un...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/dealii/97294b8d-4815-4f96-a346-8d8d6037ff35n%40googlegroups.com. >> >> >> -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/661b4cf3-dd9d-46ff-9d15-9cc6f074290en%40googlegroups.com > <https://groups.google.com/d/msgid/dealii/661b4cf3-dd9d-46ff-9d15-9cc6f074290en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CADZnUoBTzgzpdh3%3D_6mqbqnm7pnU-w7TorE-yYqAB5%2B3mzSQBw%40mail.gmail.com.