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 > <dealii@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+unsubscr...@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/AF634499-7A9C-4958-A619-4857CD5FEF8F%40gmail.com.