-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Dear more experienced ice sheet modeller,
I am trying to install ISSM on Matlab on our Linux cluster that runs Rocky Linux 9.4.
Rocky 9.4 has GLIBC 2.34, which is older than the GLIBC 2.35 required by the binaries of ISSM, so I am trying to compile it myself.
It configures successfully with:
./configure \
--prefix="/trinity/opt/apps/codes/ISSM/dev10nov2025/install" \
--with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \
--includedir="${ISSM_DIR}/externalpackages/petsc/install/include" \
--with-blas-dir="/trinity/opt/apps/libraries/Scalapack/scalapack-2.2.2" \
--with-scalapack-dir="/trinity/opt/apps/libraries/Scalapack/scalapack-2.2.2" \
--with-mpi-include="/trinity/opt/apps/development/dev2024/install/include" \
--with-mpi-libflags="/trinity/opt/apps/development/dev2024/install/lib -lmpi" \
--with-metis-dir="${PETSC_DIR}" \
--with-parmetis-dir="${PETSC_DIR}" \
--with-matlab-dir="/trinity/opt/apps/development/MatLab/R2025b" \
--with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
--with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install"
but during the linking phase I keep running into:
CXXLD libISSMOverload.la
/usr/bin/ld: /trinity/opt/apps/development/dev2024/install/lib/../lib/libstdc++.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
and I fail to figure out what causes this. It is typically a symptom of a conflict between binaries compiled with different compilers. I use GCC 14.1.0. Probably the Matlab binaries have been compiled with something else. Could that be the cause of this?
I have used this dev2024 environment as used in '--with-mpi-include' and '--with-mpi-libflags' for dozens of projects, and it always worked well. Could it be related to the OS already being one and half years old? Does not seem that old. Its EOL is still seven years in the future.
Also, I tried the 4.24 release version, foir comparison, even though my user preferes the development version, and 4.24 give sthe same error.
Any ideas would be greatly appreciated!
Lukas