| | 1 | = Protos installation = |
| | 2 | |
| | 3 | 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. |
| | 4 | |
| | 5 | == LHAPDF 5.9.1 installation == |
| | 6 | |
| | 7 | * Download the tarball: lhapdf5.9.1.tgz |
| | 8 | |
| | 9 | * Untar the tarball with the command: `tar xzf lhapdf5.9.1.tgz`. Normally a lhapdf591 folder must be created on your disk. |
| | 10 | |
| | 11 | * Create a folder where the final production of the LHAPDF building will be put: `mkdir lhapdf` |
| | 12 | |
| | 13 | * Go to lhapdf591 and configure the package: `cd lhapdf591; ./configure --nopythext --shared-enabled --static--enabled --prefix=<absolute path of lhapdf>` where <absolute path of lhapdf> is the absolute path of lhapdf. |
| | 14 | |
| | 15 | * Launch the building and cross the fingers :-): `make; make install` |
| | 16 | |
| | 17 | * Configure the environment variables: `export LHAPDF=<absolute_path_lhpadf>`, `export PATH=$PATH:$LHAPDF/bin` `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LHAPDF/lib` |
| | 18 | |
| | 19 | * Install PDF sets. This is a example of CTEQ6L1 `cd $LHAPDF/shared; lhapdf-getdata CTEQ6L1.LHgrid`. The full list of CTEQ can be found here: `lhapdf-getdata --list` |
| | 20 | |
| | 21 | == Protos 2.2 installation == |
| | 22 | |
| | 23 | * Download the tarball: |
| | 24 | |
| | 25 | * Untar the tarball |
| | 26 | |
| | 27 | * Apply the patch |
| | 28 | |
| | 29 | * Launch make |
| | 30 | |