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.
{\rtf1\ansi\ansicpg1252\cocoartf2513
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Bold;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red64\green11\blue217;\red0\green0\blue0;\red200\green20\blue201;
\red47\green180\blue29;\red46\green174\blue187;}
{\*\expandedcolortbl;;\cssrgb\c32308\c18668\c88227;\csgray\c0;\cssrgb\c83396\c23075\c82664;
\cssrgb\c20238\c73898\c14947;\cssrgb\c20196\c73240\c78250;}
\paperw11900\paperh16840\margl1440\margr1440\vieww26460\viewh8400\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0

\f0\b\fs22 \cf2 \CocoaLigature0 ==>
\f1\b0 \cf3  40 installed packages\
-- \cf4 darwin-catalina-x86_64\cf3  / \cf5 apple-clang@12.0.0\cf3  ------------------\
adol-c\cf6 @2.7.2\cf3        bzip2\cf6 @1.0.8\cf3    gmsh\cf6 @4.5.4\cf3      hypre\cf6 @2.18.2\cf3       matio\cf6 @1.5.17\cf3   muparser\cf6 @2.2.6.1\cf3   netgen\cf6 @5.3.1\cf3       p4est\cf6 @2.2\cf3        suite-sparse\cf6 @5.7.2\cf3   tetgen\cf6 @1.5.0\cf3 \
arpack-ng\cf6 @develop\cf3   dealii\cf6 @9.2.0\cf3   gsl\cf6 @2.5\cf3         intel-tbb\cf6 @2020.3\cf3   metis\cf6 @5.1.0\cf3    nanoflann\cf6 @1.2.3\cf3    oce\cf6 @0.18.3\cf3         parmetis\cf6 @4.0.3\cf3   sundials\cf6 @3.2.1\cf3       trilinos\cf6 @13.0.0\cf3 \
assimp\cf6 @4.0.1\cf3        glm\cf6 @0.9.7.1\cf3    hdf5\cf6 @1.10.7\cf3     libiconv\cf6 @1.16\cf3      mpc\cf6 @1.1.0\cf3      netcdf-c\cf6 @4.7.4\cf3     openblas\cf6 @develop\cf3   petsc\cf6 @3.13.4\cf3     superlu-dist\cf6 @6.3.0\cf3   xz\cf6 @5.2.5\cf3 \
boost\cf6 @1.74.0\cf3        gmp\cf6 @6.1.2\cf3      hwloc\cf6 @1.11.11\cf3   libxml2\cf6 @2.9.10\cf3     mpfr\cf6 @4.0.2\cf3     netcdf-cxx\cf6 @4.2\cf3     openmpi\cf6 @3.1.6\cf3      slepc\cf6 @3.13.4\cf3     symengine\cf6 @0.6.0\cf3      zlib\cf6 @1.2.11\cf3 \
}

Reply via email to