Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19251169
setupEvtGen-R01-03-00.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
setupEvtGen-R01-03-00.sh
View Options
#!/bin/bash
mkdir -p EvtGen
cd
EvtGen
INSTALL_BASE
=
`
pwd
`
echo
Will setup EvtGen R01-03-00 in
$INSTALL_BASE
echo
Downloading EvtGen from SVN
svn
export
http://svnweb.cern.ch/guest/evtgen/tags/R01-03-00
echo
Downloading external dependencies
mkdir -p external
cd
external
wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8180.tgz
wget http://photospp.web.cern.ch/photospp/resources/PHOTOS.3.54/PHOTOS.3.54.tar.gz
wget http://tauolapp.web.cern.ch/tauolapp/resources/TAUOLA.1.1.4/TAUOLA.1.1.4.tar.gz
wget http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-2.06.08.tar.gz
echo
Extracting external dependencies
tar -xzf PHOTOS.3.54.tar.gz
tar -xzf HepMC-2.06.08.tar.gz
tar -xzf pythia8180.tgz
tar -xzf TAUOLA.1.1.4.tar.gz
echo
Installing HepMC in
$INSTALL_BASE
/external/HepMC/
mkdir -p HepMC
cd
HepMC/
cmake -DCMAKE_INSTALL_PREFIX
=
$INSTALL_BASE
/external/HepMC/
$INSTALL_BASE
/external/HepMC-2.06.08/ -Dmomentum:STRING
=
MEV -Dlength:STRING
=
MM
make
make install
echo
Installing pythia8 in
$INSTALL_BASE
/external/pythia8180/
cd
../pythia8180/
./configure --with-hepmc
=
$INSTALL_BASE
/external/HepMC/ --with-hepmcversion
=
2
.06.08 --enable-shared
make
echo
Installing TAUOLA in
$INSTALL_BASE
/external/TAUOLA/
cd
../TAUOLA/
./configure --with-hepmc
=
$INSTALL_BASE
/external/HepMC/
make
echo
Installing PHOTOS in
$INSTALL_BASE
/external/PHOTOS/
cd
../PHOTOS/
./configure --with-hepmc
=
$INSTALL_BASE
/external/HepMC/
make
echo
Building EvtGen
cd
$INSTALL_BASE
/R01-03-00/
./configure --hepmcdir
=
$INSTALL_BASE
/external/HepMC/ --photosdir
=
$INSTALL_BASE
/external/PHOTOS/ --pythiadir
=
$INSTALL_BASE
/external/pythia8180/ --tauoladir
=
$INSTALL_BASE
/external/TAUOLA/
make
echo
Setup
done
.
echo
To complete, add the following
command
to your .bashrc file or run it in your terminal before running any programs that use the EvtGen library:
echo
LD_LIBRARY_PATH
=
$INSTALL_BASE
/external/HepMC/lib:
$INSTALL_BASE
/external/pythia8180/lib:
$INSTALL_BASE
/external/PHOTOS/lib:
$INSTALL_BASE
/external/TAUOLA/lib:
$INSTALL_BASE
/R01-03-00/lib:
\$
LD_LIBRARY_PATH
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Sep 30, 5:48 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6494611
Default Alt Text
setupEvtGen-R01-03-00.sh (1 KB)
Attached To
Mode
rEVTGEN evtgen
Attached
Detach File
Event Timeline
Log In to Comment