Skip to content

Make sundials more flexible depending on the Linux version #818

@Closius

Description

@Closius

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions