Would be nice to make dependency of sundials lib somehow depended on the Linux version.
I tested .fmu (in continuous mode) on Alma8 with GLIBC 2.28 (check ldd --version) but fmpy 0.3.26 uses sundials which was built on a newer Linux and requires GLIBC 2.29
/lib64/libm.so.6: version `GLIBC_2.29' not found (required by blabla/fmpy/sundials/x86_64-linux/sundials_nvecserial.so)
So I downloaded sundials which is compatible for Alma8 and substitute it in fmpy folder (+ openblas-openmp) and it start working. But it is a monkey patch. So better to make it somehow more flexible.
Would be nice to make dependency of
sundialslib somehow depended on the Linux version.I tested .fmu (in continuous mode) on Alma8 with
GLIBC 2.28(checkldd --version) butfmpy 0.3.26usessundialswhich was built on a newer Linux and requiresGLIBC 2.29So I downloaded
sundialswhich is compatible for Alma8 and substitute it in fmpy folder (+ openblas-openmp) and it start working. But it is a monkey patch. So better to make it somehow more flexible.