wiki:ProtosInstallation

Version 9 (modified by Eric CONTE, 7 years ago) ( diff )

--

Protos installation

Protos can be installed in 2 steps. First, you need to install an old release of LHAPDF (5.*.* not 6.*.*) and download the PDF sets that you would like to use. Second, you must proceed to the Protos installation.

LHAPDF 5.9.1 installation

  • Untar the tarball with the command: tar xzf lhapdf-5.9.1.tar.gz. Normally a lhapdf-5.9.1 folder must be created on your disk.
  • Create somewhere in your disk a folder where the final production of the LHAPDF building will be put: mkdir lhapdf. The absolute path of lhapdf will be named in the following <absolute path of lhapdf>.
  • Enter the folder lhapdf-5.9.1: cd lhapdf-5.9.1
  • Configure the package installation: ./configure --disable-pyext --enable-shared=yes --enable-static=yes --prefix=<absolute path of lhapdf>
  • Launch the building and cross the fingers :-): make then make install
  • Configure the environment variables:
    • export LHAPDF=<absolute path of lhpadf>
    • export PATH=$PATH:$LHAPDF/bin
    • export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LHAPDF/lib
  • Install PDF sets. This is a example of CTEQ6L1: cd $LHAPDF/share/lhapdf; lhapdf-getdata cteq6ll.LHpdf. The full list of available of PDF sets can be found here: lhapdf-getdata --list

Protos 2.2 installation

  • Untar the tarball
  • Apply the patch
  • Launch make

Attachments (3)

Note: See TracWiki for help on using the wiki.