Hi,
I did that no luck. then I recompiled everything also petsc. because in your compile script for petsc is som things I did not understand so well with fPIC
, which links the library as well as I understand. could this be a point to change?
However no luck either after recompiling everything.
my error message now is:
dyld[2046]: Library not loaded: @rpath/libgfortran.5.dylib
Referenced from: <A6CA13DB-7C2B-3815-9C1B-E25E7C063B95> /Users/jbec0008/trunk/bin/issm.exe
Reason: tried: '/Users/jbec0008/trunk/externalpackages/triangle/install/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
dyld[2047]: Library not loaded: @rpath/libgfortran.5.dylib
Referenced from: <A6CA13DB-7C2B-3815-9C1B-E25E7C063B95> /Users/jbec0008/trunk/bin/issm.exe
Reason: tried: '/Users/jbec0008/trunk/externalpackages/triangle/install/lib/libgfortran.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file, not in dyld cache)
Issm still does not look into the right path. is there something wrong with how I start issm? I read only to include the dev path
is that right? I also tried with including `$ISSM_DIR/bin' but also the same kind of error.
here is my issm alias and command of my .zshrc
:
export ISSM_DIR=/Users/jbec0008/trunk
alias libenv="source $ISSM_DIR/etc/environment.sh"
source $ISSM_DIR/etc/environment.sh
alias issm='/Applications/MATLAB_R2022b.app/bin/matlab -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath; addpath $ISSM_DIR/lib2 $ISSM_DIR/lib"'
export LD_LIBRARY_PATH="/usr/local/gfortran/lib:${LD_LIBRARY_PATH}"
export DYLD_LIBRARY_PATH="/usr/local/gfortran/lib:${DYLD_LIBRARY_PATH}"
export LIBRARY_PATH="/usr/local/gfortran/lib:${LIBRARY_PATH}"
while in lib2 are the binaries for intel I downloaded.
This is way above my head but I never really deinstalled rosetta2. could that be a problem. When I type in Matlab
! file "$(which arch)"
is get
/usr/bin/arch: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/usr/bin/arch (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/arch (for architecture arm64e): Mach-O 64-bit executable arm64e
or is that because of the binaries in lib2?