lhapdf is hosted by Hepforge, IPPP Durham

NOTE: LHAPDF 5 is superseded by LHAPDF 6. This page is archived from 2013: links/URLs and data downloads described here are not guaranteed to function!

LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. The code and data sets can be downloaded together or inidivually as desired. From version 4.1 onwards a configuration script facilitates the installation of LHAPDF.

2013-12-20: C++ LHAPDF6 6.0.5 patch version is now available
See the LHAPDF6 announcement talk from PDF4LHC (some small details have changed since).
Code tarball for download from here.
New PDF data files for download from here.

Note: from version 5.7.1 onwards the PDF grid files are not bundled with the tarball.
Note: Problems compiling on MacOS (particularily v10.6)
Latest: new version of bin/lhapdf-getdata script needed for all versions


Installing LHAPDF.
Configuration options.
List (and download) of PDF sets.
On-line user manual.
PDF set numbers
A wrapper for C++.
A wrapper for C++. (old version)
A little bit of theory.
Description of the .LHpdf files
Description of the .LHgrid files
How to join the announcement mailing list.
How to email the developers of LHAPDF
View the Subversion repository.

Publications/LHAPDF reference
Name conflicts with CERNLIB


1) Compiling on MacOS X
2) Downloading PDF grid files (v5.7.1 onwards)
3) Configuration options. (v5.8.0 onwards)


Latest version 6 release (20/12/2013):
  6.0.5: LHAPDF-6.0.5.tar.gz (PDF sets)
  6.0.4: LHAPDF-6.0.4.tar.gz (PDF sets)
  6.0.3: LHAPDF-6.0.3.tar.gz (PDF sets)
  6.0.2: LHAPDF-6.0.2.tar.gz (PDF sets)
  6.0.1: LHAPDF-6.0.1.tar.gz (PDF sets)
  6.0.0: LHAPDF-6.0.0.tar.gz (PDF sets)
Latest (& final) version 5 release (24/09/2013):
  5.9.1: lhapdf-5.9.1.tar.gz   (PDF sets)
Old versions:
  5.9.0: lhapdf-5.9.0.tar.gz   (PDF sets)
  5.8.9: lhapdf-5.8.9.tar.gz   (PDF sets)
  5.8.8: lhapdf-5.8.8.tar.gz   (PDF sets)
  5.8.7: lhapdf-5.8.7.tar.gz   (PDF sets)
  5.8.6: lhapdf-5.8.6.tar.gz   (PDF sets)
  5.8.5: lhapdf-5.8.5.tar.gz   (PDF sets)
  5.8.4: lhapdf-5.8.4.tar.gz   (PDF sets) (patches)
  5.8.3: lhapdf-5.8.3.tar.gz   (PDF sets) (patches)
  5.8.2: lhapdf-5.8.2.tar.gz   (PDF sets)
  5.8.1: lhapdf-5.8.1.tar.gz   (PDF sets)
  5.8.0: lhapdf-5.8.0.tar.gz   (PDF sets)
  5.7.1: lhapdf-5.7.1.tar.gz   (PDF sets)
  5.7.0 (full): lhapdf-5.7.0.tar.gz
  5.6.0 (full): lhapdf-5.6.0.tar.gz
  5.5.1 (full): lhapdf-5.5.1.tar.gz
  5.5.0 (full): lhapdf-5.5.0.tar.gz
  5.4.1 (full): lhapdf-5.4.1.tar.gz
  5.4.0 (full): lhapdf-5.4.0.tar.gz
  5.3.1 (full): lhapdf-5.3.1.tar.gz(patches)
  5.3.0 (full): lhapdf-5.3.0.tar.gz(patches)
  5.2.3 (full): lhapdf-5.2.3.tar.gz
  5.2.2 (full): lhapdf-5.2.2.tar.gz
  5.2.1 (full): lhapdf-5.2.1.tar.gz
  5.2 (full): lhapdf-5.2.tar.gz
  5.1 (full): lhapdf-5.1.tar.gz
  5.0.0 (full): lhapdf-5.0.0.tar.gz
  4.2 (full): lhapdf-4.2.tar.gz
  4.1.1 (full): lhapdf-4.1.1.tar.gz
  4.0 (full): lhapdf-4.0.tar.gz
  3.0 (full): lhapdf-3.0.tar.gz
  2.0 (full): lhapdf-2.0.tar.gz

NOTE: Details of the changes in the different versions can be found in the ChangeLog. (The final LHAPDF5 ChangeLog is here.)