ihixs installation

The program uses the LHAPDF library to which it links dynamically. If you have LHAPDF installed globally, you can happily jump to step 6.

If you don't have the LHAPDF library installed globally in your system, you can install it locally (without root privileges) at a directory of your choice, denoted below by <path to LHAPDF directory>:

  1. download the package from the LHAPDF web site.
  2. untar it (tar -zxvf lhapdf-*.*.*.tar.gz) and do
    ./configure --prefix=<path to LHAPDF directory> --enable-low-memory
    make
    make install
    Note that the <path to LHAPDF directory> is an absolute path, not a relative one. See the LHAPDF installation guidelines for more details on how to install the LHAPDF library.
  3. After having installed the library you have to tell the system where to find it, by fixing the LD_LIBARY_PATH
    UNIX/LINUX : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path to LHAPDF directory>/lib
    MAC OSX : export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:<path to LHAPDF directory>/lib
    Placing this export command in your .bashrc (unix/linux) or .bash_profile (MAC OSX) will save you having to retype it after every logout.
  4. Next, you have to fetch the actual pdf grids. In the directory of LHAPDF there is a bin/lhapdf-getdata executable, which can fetch the pdfs you need and place them in a local directory of your choice, here denoted by <path to pdf grids>.

    For example

    bin/lhapdf-getdata MSTW2008 --dest=<path to pdf grids>
    The full functionality of that script can be seen by
    bin/lhapdf-getdata --help
    See the LHAPDF installation guidelines for more details.

  5. Finally you have to tell the system where to find the grids, by setting the environment variable
    export LHAPATH = <path to pdf grids>
    Placing this export command in your .bashrc (unix/linux) or .bash_profile (MAC OSX) will save you having to retype it after every logout.
  6. Assuming that the LHAPDF library is available, the installation of iHixs proceeds simply through
    • If LHAPD is installed locally do
      configure LHAPDFDIR=<path to LHAPDF directory>/lib
      make
      in the main directory of iHixs.
    • If LHAPDF is installed globally you don't need to set the LHAPDFDIR variable, so just do
      configure
      make

We have checked that the program is compatible with the gcc compiler set, using gfortran on debian and mac OSX. Intel compilers will soon be supported as well.

For any installation issues please contact us, we'll be happy to (try to) help.