Dear Jean-Paul and Zhibo,

curious. We use modulefiles with "prepend-path" as of

#%Module 1.0
#
#  deal.II module for use with 'environment-modules' package:
#


module-whatis          "Provides the deal.II toolbox."


#module load mpi/mpich-x86_64


setenv                  DEAL_II_DIR         /apps/candi/deal.II-v8.5.0
setenv                  TRILINOS_DIR        /apps/candi/trilinos-release-12-
10-1


prepend-path            DYLD_LIBRARY_PATH   /apps/candi/parmetis-4.0.3/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/superlu_dist_5.1.2/
lib


prepend-path            DYLD_LIBRARY_PATH   /apps/candi/OCE-0.18/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/deal.II-v8.5.0/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/hdf5-1.10.0-patch1/
lib
#prepend-path            DYLD_LIBRARY_PATH   
/apps/candi/deal.II-toolchain/v8.5.0/brew-openmpi/p4est-2.0/FAST/lib
#prepend-path            DYLD_LIBRARY_PATH   
/apps/candi/deal.II-toolchain/v8.5.0/brew-openmpi/p4est-2.0/DEBUG/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/petsc-3.7.6/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/slepc-3.7.3/lib
prepend-path            DYLD_LIBRARY_PATH   /apps/candi/trilinos-release-12-
10-1/lib

together with the environment modules package from Homebrew.

Currently this approach is still working (at least what we have checked 5 
minutes ago,
but maybe we don't have the latest patch level). It is also possible that 
we don't use SIP,
I don't know.

>From candi site, we have the configuration files located in some install 
path and one
can activate it by calling the respective "enable.sh" script, but it is 
possible that we have
forgotten to update them accordingly, regarding your post
 

> "However, the library path of superlu_dist, parmetis, and oce are not set 
> correctly.
> The generated object try to find "libsuperlu_dist.5.dylib" in the current 
> path,
> but actually this library is installed 
> in /Users/zhiboluo/deal.ii-candi/superlu_dist_5.1.2/lib."


I'll will take a look into this in the forthcoming days (I'm also just 
arrived back from summer vacation).

Best
  Uwe
 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to