You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest to split the detection of libraries related to HSL linear solvers.
Right now, only MA57 is interfaced, but if more solvers are added, we want something like this:
if findlibrary(hsl)
... # compile all HSL interfaceselseif findlibrary(ma57)
... # compile the interface for MA57
endif
if findlibrary(ma27)
... # compile the interface for MA27
endif
endif
This way, we can also determine if we explicitly linked with libHSL, and thus decide whether or not we can use the routine LIBHSL_isfunctional to ensure at runtime that HSL solvers are available.
This is particularly relevant for Julia users, where Uno is always compiled with a "dummy" version of libHSL.
It allows them to easily switch to the HSL solvers if they can install the official libHSL (like academic users) with HSL_jll.jl.
The text was updated successfully, but these errors were encountered:
I suggest to split the detection of libraries related to HSL linear solvers.
Right now, only MA57 is interfaced, but if more solvers are added, we want something like this:
This way, we can also determine if we explicitly linked with libHSL, and thus decide whether or not we can use the routine
LIBHSL_isfunctional
to ensure at runtime that HSL solvers are available.This is particularly relevant for Julia users, where Uno is always compiled with a "dummy" version of libHSL.
It allows them to easily switch to the HSL solvers if they can install the official libHSL (like academic users) with
HSL_jll.jl
.The text was updated successfully, but these errors were encountered: