LibHSL

The largest collection of HSL packages in one bundle
Technology No.

Version: 2023.11.7

LibHSL is the ultimate sparse linear algebra collection for large-scale scientific computing. It contains more than 160 HSL packages and aims to facilitate the use of HSL in Julia, Fortran, and C.

With libHSL we focus on ease of use for users on all platforms by using a Meson build system. Meson enables the distribution of prebuilt binaries for the package using BinaryBuilder.jl. Additionally, libHSL supports either METIS 5 or the older METIS 4.

This new package provides the source code of the included HSL packages, prebuilt binaries for use with Windows and Mac, and a Julia package named HSL_jll.jl. 

HSL_jll.jl is a pre-built version of libHSL ready to be used in the Julia ecosystem. Once HSL_jll.jl is installed, the HSL wrappers provided in the Julia interface HSL.jl are functional. HSL_jll.jl also provides an easy way to use the HSL linear solvers MA27, MA57, MA77, MA86 and MA97 within the IPOPT.jl interface to the IPOPT nonlinear optimization solver.

Two versions of HSL_jll.jl are available. One is precompiled with OpenBLAS, which requires at least Julia 1.6, and the other version is precompiled with libblastrampoline (LBT), which requires at least Julia 1.9. LBT allows one to dynamically switch the BLAS and LAPACK backends between e.g. OpenBLAS, BLIS, Intel MKL or Apple Accelerate. HSL_jll.jl is precompiled for various operating systems (Windows, Mac, Linux, FreeBSD) and architectures (x64, arm64, ppc64).

Linking to the library enables HSL routines to be called from Fortran or C, as described in the relevant documentation on the HSL website.

"One package to rule them all" -- Alexis Montoison

  • swap_vertical_circlecloud_downloadSupporting documents (5)
    Product brochure
    LibHSL.pdf
    ChangeLog
    The changes included in each release of LibHSL
    ChangeLog.txt (4 KB)
    DOWNLOAD
    Checksums
    Checksums to validate official releases of LibHSL
    checksums.txt (2 KB)
    DOWNLOAD
    LibHSL Documentation
    Documentation on installing and using libHSL
    libHSL.pdf (61 KB)
    DOWNLOAD
    HSL_jll.jl Documentation
    Documentation on installing and using HSL_jll.jl
    HSL_jll.pdf (78 KB)
    DOWNLOAD
    Additional files may be available once you've completed the transaction for this product. If you've already done so, please log into your account and visit My account / Downloads section to view them.
HSL Academic Licence
An academic licence for the HSL software tied to the licencee.

Term: perpetual

Free of charge

HSL Named User Licence
A commercial licence for the HSL software covering a set of named users.

Term: perpetual

Price per user:
£5,844.00 excl. VAT
Volume discounts available

HSL 20 User Commercial Site Licence
A commercial licence for the HSL software covering up to 20 concurrent users. Multiple licences may be purchased to increase this limit.

Term: perpetual

Price per group:
From £24,991.00 excl. VAT

HSL Incorporation Licence.
An incorporation licence for the HSL software

Term: perpetual

Price on approval

Questions about this technology?