Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile GALAHAD_jll.jl with HSL_jll.jl #265

Closed
amontoison opened this issue Feb 14, 2024 · 1 comment
Closed

Compile GALAHAD_jll.jl with HSL_jll.jl #265

amontoison opened this issue Feb 14, 2024 · 1 comment
Assignees
Labels

Comments

@amontoison
Copy link
Member

amontoison commented Feb 14, 2024

One of the initial goals of libHSL was to facilitate the utilization of HSL routines in GALAHAD by consolidating them into a single static/shared library libhsl.
This approach works well when using the Meson build system, as we only need to specify the options -Dlibhsl_path=... and -Dlibhsl_modules=... to indicate the path to the library / Fortran modules when compiling GALAHAD.
However, this requires compiling GALAHAD on our computer.

For Julia users, we offer a precompiled version, GALAHAD_jll.jl, enabling the use of the Julia interface, GALAHAD.jl, without any compilation requirements and with all open-source dependencies (MUMPS, PASTIX, METIS, etc.).
Although we cannot compile it with the official libhsl.so, we could compile it with the provided dummy version from ralna/libHSL, available as HSL_jll.jl.
Currently, ralna/libHSL only offers one routine (LIBHSL_isfunctional) required by HSL.jl, but we could augment it with dummy files for all symbols and modules necessary for GALAHAD.

If successful, this would mean that installing the official HSL_jll.jl package provided with the source of libHSL would automatically enable the use of HSL routines in GALAHAD.jl like it is already the case in Ipopt.jl.

@amontoison amontoison self-assigned this Feb 14, 2024
@amontoison
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 participant