[Rivet] Problems installing rivet

Alex Schofield alexschof at gmail.com
Tue Feb 22 14:15:03 GMT 2011


*I've been trying to install Rivet on both my linux machine (running SL5)
and my mac (10.6) and i've encountered several problems. I have been able to
install Rivet using both the manual way and the bootstrap script but neither
works after installation. I'm relatively new to installing unix based
software so I may just have missed something. My last attempt to install
Rivet is as follows. First I ran the rivet-boostrap after setting up the
compilers as stated on the website*

-bash-3.2$ export PATH=/afs/
cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH
-bash-3.2$ source /afs/
cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh
-bash-3.2$ ./rivet-bootstrap --install-boost --prefix=/afs/
hep.man.ac.uk/u/alexschof/Programs/Rivet
Getting http://www.hepforge.org/archive/rivet/Rivet-1.4.0.tar.gz
Downloading http://www.hepforge.org/archive/rivet/Rivet-1.4.0.tar.gz
Installing a local copy of Boost
Downloading
http://downloads.sourceforge.net/boost/boost_1_44_0.tar.gz?use_mirror=mesh
LCG area available: using LCG-built packages
Using LCG platform tag = x86_64-slc5-gcc43-opt
Configuring in /afs/
hep.man.ac.uk/u/alexschof/Programs/InstallFiles/build/Rivet-1.4.0:
./configure --prefix=/afs/hep.man.ac.uk/u/alexschof/Programs/Rivet
--with-lcgtag=x86_64-slc5-gcc43-opt --with-hepmc=/afs/
cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt--with-boost=/afs/
hep.man.ac.uk/u/alexschof/Programs/Rivet --with-fastjet=/afs/
cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt--disable-pdfmanual
--with-gsl=/afs/
cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt --with-gslcblas=/afs/
cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt
Building in /afs/
hep.man.ac.uk/u/alexschof/Programs/InstallFiles/build/Rivet-1.4.0: make -j2
&& make -j2 install

All done. Now set some variables in your shell by sourcing, for bash shell:

source rivetenv.sh

or for csh shell:

source rivetenv.csh


*Rivet seems to have successfully installed, but when I try to run it I
receive the following message:*

-bash-3.2$ source rivetenv.sh
-bash-3.2$ rivet
rivet requires the 'rivet' Python module
No module named rivet
-bash-3.2$ rivet -h
*
It seems like i'm able to run the analyses inside Herwig++ since there are
no complaints at run time and there is a .aida file generated. However, when
I try to convert to a flat data file I receive the error:*

-bash-3.2$ aida2flat TVT.aida
Traceback (most recent call last):
  File "/afs/hep.man.ac.uk/u/alexschof/Programs/Rivet/bin/aida2flat", line
13, in ?
    import lighthisto
ImportError: No module named lighthisto

*I got past this by copying lighthisto.py into the bin folder (is there a
better way?) which gave me some data files. I now try to run rivet-mkhtml
and get

*-bash-3.2$ rivet-mkhtml
Traceback (most recent call last):
  File "/afs/hep.man.ac.uk/u/alexschof/Programs/Rivet/bin/rivet-mkhtml",
line 19, in ?
    import rivet
ImportError: No module named rivet
rivet is broken... exiting
*
Could you point out where i'm going wrong? If you need more information
please let me know.

Thanks,
Alex*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110222/e4ce71a8/attachment.html>


More information about the Rivet mailing list