Compiling Herwig++ at RCF
First compiling and installing LHAPDF:
- I made a local directory called "loacalLibrairies" and a subdirectory called "local" with the following subdirectories
-
~/> ls ~/localLibraries/local bin/ include/ lib/ share/
-
- Get LHAPDF from their downloads page. For example
-
~/> cd localLibraries ~/localLibraries/> wget http://www.hepforge.org/archive/lhapdf/lhapdf-5.8.5.tar.gz
-
- untar it
-
~/localLibraries/> tar -xvf lhapdf-5.8.5.tar.gz
-
- Compilation:
-
:$ ./configure --prefix=/star/u/`id -u -n`/localLibraries/local --disable-pyext :$ make :$ maks install
-
- Downlaod PDFs
-
~/> cd ~/localLibraries/local/share/lhapdf/ :$ mkdir PDFsets :$ cd PDFsets :$ ~/localLibraries/local/bin/lhapdf-getdata CTEQ6ll CTEQ66 lomod MCal
-
- Added the following lines to ~/.cshrc
-
setenv PATH /star/u/`id -u -n`/localLibraries/local/lib:$PATH setenv LD_LIBRARY_PATH /star/u/`id -u -n`/localLibraries/local/lib:$LD_LIBRARY_PATH
-
Now installing GNU scientific library:
-
~/> cd ~/localLibraries
- Get gsl. For example:
-
~/localLibraries/> wget http://mirror.clarkson.edu/gnu/gsl/gsl-1.14.tar.gz
-
- Untar the tarball:
-
~/localLibraries/> tar -xvf gsl-1.14.tar.gz
-
- Change to the gsl directory
- Configure and compile:
-
:$ ./configure --prefix=/star/u/`id -u -n`/localLibraries/local/ :$ make :$ maks install
-
Now installing ThePEG:
-
~/> cd ~/localLibraries
- Get ThePEG. For example:
-
~/> wget http://www.hepforge.org/archive/thepeg/ThePEG-1.7.0.tar.bz2
-
- Untar:
-
~/> tar -xvf ThePEG-1.7.0.tar.bz2
-
- Change to ThePeg directory
- Configure and compile
-
:$ ./configure --with-LHAPDF=/star/u/`id -u -n`/localLibraries/local/lib --prefix=/star/u/`id -u -n`/localLibraries/local/ --with-gsl=/star/u/`id -u -n`/localLibraries/local :$ make :$ make install
-
Finally compiling and installing Herwig++
-
~/> cd ~/localLibraries
- Get the source code. For example:
-
~/> wget http://www.hepforge.org/archive/herwig/Herwig++-2.5.0.tar.bz2
-
- Untar:
-
~/> tar -xvf Herwig++-2.5.0.tar.bz2
-
- change to Herwig++ directory
- Configure and compile:
-
:$ ./configure --prefix=/star/u/`id -u -n`/localLibraries/local/ --with-gsl=/star/u/`id -u -n`/localLibraries/local :$ make :$ make install
-
- Changed $PATH in .cshrc to
-
setenv PATH /star/u/`id -u -n`/localLibraries/local/lib:/star/u/`id -u -n`/localLibraries/local/bin:$PATH
-
-
~/> source .cshrc
ENJOY!
--
Mustafa^2
Groups:
- mstftsm's blog
- Login or register to post comments