The standard sequence of commands for building and installing lhapdf are:
The 'configure' command, however, has various options which can be used to
tailor the building process to your own requirements.
Below are the most signficant which you might wish to use
--prefix=/install/directory Selects the directory path into which 'make install' installs the compiled lhapdf libraries and programs.
--enable-low-memory This limits the number of members of a PDF set which are intialised to '1', instead of all of the members of the set. This clearly has a big impact on efficiency if using multiple members of a set, but can be used to cut down memory usage if only one member of a set is needed.
--with-max-num-pdfsets=n This sets the maximum number of PDF sets which can be initialized at the same time to 'n' (the default is '3').
--enable-pdfsets=LIST Available from v 5.8.0 onwards.
LIST is a comma separated list of pdf sets. The effect is to only build the libraries with the code necessary for these pdf sets. The table below shows the reported virtrual memory usage (on a 32 bit Linux system) with the different PDF sets. Specifying a negative value for a PDF sets means exclude that set. It is clearly meaningless to have both negative and postivie (unsigned) values in a list but in this case the negative values take precedence and the 'positive' values in the list are then ignored.
'all' (the default) includes all PDF sets.