This is an old revision of the document!
After logging into a clean shell run
module unload altd module unload darshan module unload PrgEnv-intel module load PrgEnv-gnu module unload cray-shmem module load scons module load mercurial module load cmake module load boost module load gsl
Unpack HepMC tarball and enter sherpa main directory. Then Run
mkdir install ./bootstrap ./configure --with-pic --prefix=/path/to/sherpa/install --with-momentum=MEV --with-length=MM CC=cc CXX=CC --enable-shared=no make make install