The Dire installation should be fairly straight forward if you already have a Pythia8 installation. Dire is compatible with Pythia 8 version 8212 and higher (Dire 2.001 onwards require Pythia 8.226 or higher). Let's assume you already have a running Pythia 8 installation that is linked against LHAPDF6 and HEPMC2 (some tools to set up such an installation can be found below). Then, follow these steps to get going:
wget https://dire.gitlab.io/Downloads/DIRE-2.003.tar.gz
tar xf DIRE-2.003.tar.gz
./configure --prefix=/path/where/to/install/dire
--with-pythia8=/path/to/pythia
/path/to/pythia
is your Pythia
install or build directory (the code assumes that Pythia's
Makefile.inc is located at either /path/to/pythia/Makefile.inc or
/path/to/pythia/share/Pythia8/examples/Makefile.inc), and
/path/where/to/install/dire
is the directory in which
you want to install Dire.
make && make install
make install
and copied to
bin/dire. You can find out more about available functionality by
typing ./bin/dire --help
share/Dire/main
and run make dire00
or make dire01
./dire00
./dire05 myinput.cmnd
./dire01 myinput.cmnd myoutput.hepmc
Please note that the helper scripts below have last been tested for version 2.003.
As event generator outputs can take up a lot of disk space, it is often useful to analyse the outputs on-the-fly. Here is a script that allows you to run Pythia 8 + Dire and RIVET simultaneously, so that you can directly compare against experimental data.
The plugin requires an installation of Pythia 8. Some Linux tools to help you with your Pythia 8 installation care found below.
installHEPTOOLS.sh is a master installation script to install zlib, BOOST, LHAPDF6, HEPMC2, Pythia 8 and Dire. It downloads and uses all scripts below. So just download this script, make it executable, and run. (Note: Works only on Linux)
installZLIB.sh is an installation script to install zlib, as a helper for installHEPTOOLS.sh.
installBOOST.sh is an installation script to install BOOST, as a helper for installHEPTOOLS.sh.
installLHAPDF6.sh is an installation script to install LHAPDF6 and link against BOOST, as a helper for installHEPTOOLS.sh.
installHEPMC2.sh is an installation script to install HEPMC2, as a helper for installHEPTOOLS.sh.
installPYTHIA8.sh is an installation script to install Pythia 8 and link against LHAPDF6, HEPMC2, BOOST and zlib. The latter is only needed if you want Pythia 8 to read gzipped input files.
installDIRE.sh is an installation script to install Dire in a Pythia 8 distribution - basically following the steps outlined above.