The HSL Mathematical Software Library

Over 50 years of getting the right answer

HSL (formerly the Harwell Subroutine Library) is a collection of state-of-the-art packages for large-scale scientific computation written and developed by the Numerical Analysis Group at the STFC Rutherford Appleton Laboratory and other experts. HSL offers users a high standard of reliability and has an international reputation as a source of robust and efficient numerical software. Among its best known packages are those for the solution of sparse linear systems of equations and sparse eigenvalue problems. MATLAB interfaces are offered for selected packages.

The Library was started in 1963 and was originally used at the Harwell Laboratory on IBM mainframes running under OS and MVS. Over the years, the Library has evolved and has been extensively used on a wide range of computers, from supercomputers to modern PCs. Recent additions include optimised support for multicore processors.

If you are interested in our optimization or nonlinear equation solving packages, our work in this area is released in the GALAHAD library.

New: HSL 2013 Released

A full list of changes is available.

Major new packages:

Licencing

We currently offer three types of licence:
Academic
HSL packages are available at no cost for academic research and teaching. See download links for individual packages in the catalogue.
Commercial (per seat)
For use internal to your company we offer per seat licences. Please contact us for a price.
Commercial (incorporation)
For incorporation in software that you distribute, we offer an incorporation licence. Pricing is done on a case-by-case basis. Please contact us to discuss your requirements.

Many older packages are available at no cost for personal academic or commercial (non incorporation) use via the HSL Archive.

More information on licencing can be found on our licencing page.