<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>This means python cannot find the modules.</div><div><br></div><div>Check in your installation directory for a directory containing the *.py-files.</div><div>For me it is in ~/local/lib64/python2.4/site-packages</div><div>In the rivetenc.sh is a only lib (not lib64) noted for PYTHONPATH. Changing this should solve your problem.</div><div><br></div><div>To me it's not clear, when a lib is placed in lib or in lib64 (yeah, the name is the game... maybe)</div><div><br></div><div>Cheers,</div><div>Daniel</div><div><br></div><div><br><div><div>Am 18.05.2011 um 07:24 schrieb lvdeep saini:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello again...<br><br>though the installation is successfull but now "rivet -h" not working...giving an error:<br><br><br>
"rivet requires the 'rivet' Python module<br>
No module named rivet"<br><br><br>I am pasting all the commands (used by me) at the end of this email, so that you could point me to my mistake.<br><br clear="all">Regards,<br>Lovedeep<br>
------------------------------------------------------------------------------------------------------------------------<br><br>[lxplus311] ~/scratch0/rivet $ sh<br>sh-3.2$ wget <a href="http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap">http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap</a><br>
--2011-05-18 06:53:38-- <a href="http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap">http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap</a><br>Resolving <a href="http://svn.hepforge.org">svn.hepforge.org</a>... 129.234.186.118<br>Connecting to <a href="http://svn.hepforge.org/">svn.hepforge.org</a>|129.234.186.118|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>Length: 24511 (24K) [text/plain]<br>Saving to: `rivet-bootstrap'<br><br>100%[==================================================================================================================>] 24,511 --.-K/s in 0.06s <br>
<br>2011-05-18 06:53:38 (393 KB/s) - `rivet-bootstrap' saved [24511/24511]<br><br>sh-3.2$ chmod +x rivet-bootstrap<br>sh-3.2$ export PATH=/afs/<a href="http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH">cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH</a><br>
sh-3.2$ source /afs/<a href="http://cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh">cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh</a><br>sh-3.2$ ./rivet-bootstrap --prefix=$HOME/local<br>Getting <a href="http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz">http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz</a><br>
Downloading <a href="http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz">http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz</a><br>LCG area available: using LCG-built packages<br>Using LCG platform tag = x86_64-slc5-gcc43-opt<br>
Configuring in /afs/<a href="http://cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.0">cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.0</a>: ./configure --prefix=/afs/<a href="http://cern.ch/user/l/lovedeep/local">cern.ch/user/l/lovedeep/local</a> --with-lcgtag=x86_64-slc5-gcc43-opt --with-hepmc=/afs/<a href="http://cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt">cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt</a> --with-boost=/afs/<a href="http://cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt">cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt</a> --with-boost-incpath=/afs/<a href="http://cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44">cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44</a> --with-fastjet=/afs/<a href="http://cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt">cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt</a> --disable-pdfmanual --with-gsl=/afs/<a href="http://cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt">cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt</a> --with-gslcblas=/afs/<a href="http://cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt">cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt</a><br>
Building in /afs/<a href="http://cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.0">cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.0</a>: make -j2 && make -j2 install<br><br>All done. Now set some variables in your shell by sourcing, for bash shell:<br>
<br>source rivetenv.sh<br><br>or for csh shell:<br><br>source rivetenv.csh<br>sh-3.2$ echo $LD_LIBRARY_PATH<br>/afs/<a href="http://cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib">cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib</a><br>
sh-3.2$ source rivetenv.sh<br>sh-3.2$ echo $LD_LIBRARY_PATH<br>/afs/<a href="http://cern.ch/user/l/lovedeep/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib">cern.ch/user/l/lovedeep/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib</a><br>
sh-3.2$ rivet --h<br>rivet requires the 'rivet' Python module<br>No module named rivet<br><br><br><br><br><br><br><br><div class="gmail_quote">On Wed, May 18, 2011 at 9:09 AM, lvdeep saini <span dir="ltr"><<a href="mailto:lvdeep9@gmail.com">lvdeep9@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Many Thanks Daniel, changing the shell environment to "sh" solved my problem and the installation part is done..<br>
<br clear="all">Regards,<br>Lovedeep<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Tue, May 17, 2011 at 11:18 PM, Daniel Weyh <span dir="ltr"><<a href="mailto:weyh@physik.hu-berlin.de" target="_blank">weyh@physik.hu-berlin.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;">Hi Lovedeep,<div><br></div><div>although I have trouble with the linux systems at CERN in general, I cannot reproduce the problem.</div><div>Just did the following:</div><div><br></div>
<div>As mentioned on the website:</div><div>--------------------</div><div></div><div>wget <a href="http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap" target="_blank">http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap</a></div>
<div>chmod +x rivet-bootstrap</div><div>export PATH=/afs/<a href="http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH" target="_blank">cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH</a></div>
<div>source /afs/<a href="http://cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh" target="_blank">cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh</a></div><div><div>--------------------</div><div>
</div></div><div><br></div><div>Then:</div><div>--------------------</div><div><div>[lxplus244] /afs/<a href="http://cern.ch/user/d/dweyh" target="_blank">cern.ch/user/d/dweyh</a> > ./rivet-bootstrap --prefix=$HOME/local</div>
<div>Getting <a href="http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz" target="_blank">http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz</a></div><div>Downloading <a href="http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz" target="_blank">http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz</a></div>
<div>LCG area available: using LCG-built packages</div><div>Using LCG platform tag = x86_64-slc5-gcc43-opt</div><div>Configuring in /afs/<a href="http://cern.ch/user/d/dweyh/build/Rivet-1.5.0" target="_blank">cern.ch/user/d/dweyh/build/Rivet-1.5.0</a>: ./configure --prefix=/afs/<a href="http://cern.ch/user/d/dweyh/local" target="_blank">cern.ch/user/d/dweyh/local</a> --with-lcgtag=x86_64-slc5-gcc43-opt --with-hepmc=/afs/<a href="http://cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt" target="_blank">cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt</a> --with-boost=/afs/<a href="http://cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt" target="_blank">cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt</a> --with-boost-incpath=/afs/<a href="http://cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44" target="_blank">cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44</a> --with-fastjet=/afs/<a href="http://cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt" target="_blank">cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt</a> --disable-pdfmanual --with-gsl=/afs/<a href="http://cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt" target="_blank">cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt</a> --with-gslcblas=/afs/<a href="http://cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt" target="_blank">cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt</a></div>
<div>Building in /afs/<a href="http://cern.ch/user/d/dweyh/build/Rivet-1.5.0" target="_blank">cern.ch/user/d/dweyh/build/Rivet-1.5.0</a>: make -j2 && make -j2 install</div><div><br></div><div>All done. Now set some variables in your shell by sourcing, for bash shell:</div>
<div>--------------------</div></div><div><div></div></div><div>E.g. rivet --list-analyses produced some output (although I didn't check on HepMC files or the like...).</div><div><br></div><div><br></div><div>Maybe you can check your environmental variables?</div>
<div>My $LD_LIBRARY_PATH is a bit unsorted... (did I mention I'm not really happy?), but here it is and it worked by now:</div><div>--------------------</div><div><div>[lxplus244] /afs/<a href="http://cern.ch/user/d/dweyh" target="_blank">cern.ch/user/d/dweyh</a> > echo $LD_LIBRARY_PATH </div>
<div>/afs/<a href="http://cern.ch/sw/lcg/contrib/gcc/4.4.3/x86_64-slc5-gcc44-opt/lib64:/afs/cern.ch/user/d/dweyh/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/user/d/dweyh/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.4.3/x86_64-slc5-gcc44-opt/lib64" target="_blank">cern.ch/sw/lcg/contrib/gcc/4.4.3/x86_64-slc5-gcc44-opt/lib64:/afs/cern.ch/user/d/dweyh/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/user/d/dweyh/local/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.4.3/x86_64-slc5-gcc44-opt/lib64</a></div>
</div><div><div>--------------------</div><div></div></div><div>Roughly the first half should do it...</div><div><br></div><div>Btw. you can try to run my installation (source /afs/<a href="http://cern.ch/user/d/dweyh/rivetenv.%5Bc%5Dsh" target="_blank">cern.ch/user/d/dweyh/rivetenv.[c]sh</a>).</div>
<div><br></div><div>Good luck,</div><div>Daniel</div><div><br></div><div><div><div>Am 17.05.2011 um 16:54 schrieb Lovedeep Kaur Saini:</div><br><blockquote type="cite"><div><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi,<br><br>I am trying to install Rivet in my CERN account following the instructions from here:<span> </span><a href="http://projects.hepforge.org/rivet/trac/wiki/GettingStarted" target="_blank">http://projects.hepforge.org/rivet/trac/wiki/GettingStarted</a><br>
<br>When I do "./rivet-bootstrap", it complaints for: Using LCG platform tag = x86_64-slc5-gcc41-opt<br>So, I tried: ./rivet-bootstrap --lcgtag=x86_64-slc5-gcc43-opt<br>But it gives me an error pasted at the end of this email. Can you please provide some recipe to get rid off this problem?<br>
<br>Regards,<br>Lovedeep<br>Graduate Student (CMS-LHC),<span> </span><br>Panjab University, Chandigarh.<br></div></div></blockquote></div><br></div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</blockquote></div><br></div></body></html>