|
[Rivet] Problems installing rivetAndy Buckley andy.buckley at ed.ac.ukTue Feb 22 14:39:07 GMT 2011
Hi Alex, Can you send us a copy of your config.log file? It looks to me like either the Rivet Python module has not been built at all (possible if the Python development headers e.g. Python.h are not present on your machine) or that it has been built but is not present in your PYTHONPATH. To get a bit more information, can you try running "rivet -v" to get more verbose information about the failed loading of the "rivet" module and send us the output. Also, try running "python" to get to the Python interpreter prompt, and type "import rivet": the output from that would also be useful... and maybe enough to help *you* find out why the module isn't being loaded :) Cheers, Andy On 22/02/11 14:15, Alex Schofield wrote: > *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 > <http://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 > <http://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 > <http://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 > <http://hep.man.ac.uk/u/alexschof/Programs/InstallFiles/build/Rivet-1.4.0>: > ./configure --prefix=/afs/hep.man.ac.uk/u/alexschof/Programs/Rivet > <http://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 > <http://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 > <http://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 > <http://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 > <http://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 > <http://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 > <http://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 > <http://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 > <http://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* > > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > http://www.hepforge.org/lists/listinfo/rivet -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh
More information about the Rivet mailing list |