Compiling Herwig++ on Ubuntu
First compiling and installing LHAPDF:
- Get your favorite fotran compiler
- sudo apt-get install gfortran
- I assume you already have g++, if not install it.
- Get LHAPDF from their downloads page.
- Then following the instructions on their installation page
- tar -xvf lhapdf-v.r.p.tar.gz
- cd lhapdf-v.r.p
- sudo ./configure --prefix=/usr/local
- sudo make
- sudo make install
- cd /usr/local/share/lhapdf
- sudo mkdir PDFsets
- cd PDFsets
- sudo lhapdf-getdata --all (actually all you need are, CTEQ6ll,CTEQ5L,GRV98nlo,MRST2001nlo)
- add this line "PATH_LHAPDF/lib to the end of /etc/ld.so.conf.d/libc.conf
- sudo ldconfig
Now installing ThePEG:
- Install GNU Scientific Library "gsl"
- sudo apt-get install gsl-bin libgsl0-dev
- Get ThePEG
- Untar the ball
- Change to ThePEG directory
- Then follow these instructions:
- ./configure --with-LHAPDF=/usr/local/lib --prefix=/usr/local/
- make check
- sudo make instal
Finally compiling and installing Herwig++
- Get the source code
- Untar the tarball
- Change to the directory
- Then:
- ./configure --prefix=/usr/local
- make check
- sudo make install
Groups:
- mstftsm's blog
- Login or register to post comments