[Rivet] Rivet install problem

lvdeep saini lvdeep9 at gmail.com
Wed May 18 06:24:41 BST 2011


Hello again...

though the installation is successfull but now "rivet -h" not
working...giving an error:


"rivet requires the 'rivet' Python module
No module named rivet"


I am pasting all the commands (used by me) at the end of this email, so that
you could point me to my mistake.

Regards,
Lovedeep
------------------------------------------------------------------------------------------------------------------------

[lxplus311] ~/scratch0/rivet $ sh
sh-3.2$ wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
--2011-05-18 06:53:38--
http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
Resolving svn.hepforge.org... 129.234.186.118
Connecting to svn.hepforge.org|129.234.186.118|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24511 (24K) [text/plain]
Saving to: `rivet-bootstrap'

100%[==================================================================================================================>]
24,511      --.-K/s   in 0.06s

2011-05-18 06:53:38 (393 KB/s) - `rivet-bootstrap' saved [24511/24511]

sh-3.2$ chmod +x rivet-bootstrap
sh-3.2$ export PATH=/afs/
cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH
sh-3.2$ source /afs/
cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh
sh-3.2$ ./rivet-bootstrap --prefix=$HOME/local
Getting http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz
Downloading http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz
LCG area available: using LCG-built packages
Using LCG platform tag = x86_64-slc5-gcc43-opt
Configuring in /afs/cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.0:
./configure --prefix=/afs/cern.ch/user/l/lovedeep/local
--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/
cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt--with-boost-incpath=/afs/
cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44--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/cern.ch/user/l/lovedeep/scratch0/rivet/build/Rivet-1.5.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
sh-3.2$ echo $LD_LIBRARY_PATH
/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
sh-3.2$ source rivetenv.sh
sh-3.2$ echo $LD_LIBRARY_PATH
/afs/
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
sh-3.2$ rivet --h
rivet requires the 'rivet' Python module
No module named rivet







On Wed, May 18, 2011 at 9:09 AM, lvdeep saini <lvdeep9 at gmail.com> wrote:

> Many Thanks Daniel, changing the shell environment to "sh" solved my
> problem and the installation part is done..
>
> Regards,
> Lovedeep
>
>
>
> On Tue, May 17, 2011 at 11:18 PM, Daniel Weyh <weyh at physik.hu-berlin.de>wrote:
>
>> Hi Lovedeep,
>>
>> although I have trouble with the linux systems at CERN in general, I
>> cannot reproduce the problem.
>> Just did the following:
>>
>> As mentioned on the website:
>> --------------------
>> wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
>> chmod +x rivet-bootstrap
>> export PATH=/afs/
>> cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH
>> source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh
>> --------------------
>>
>> Then:
>> --------------------
>> [lxplus244] /afs/cern.ch/user/d/dweyh > ./rivet-bootstrap
>> --prefix=$HOME/local
>> Getting http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz
>> Downloading http://www.hepforge.org/archive/rivet/Rivet-1.5.0.tar.gz
>> LCG area available: using LCG-built packages
>> Using LCG platform tag = x86_64-slc5-gcc43-opt
>> Configuring in /afs/cern.ch/user/d/dweyh/build/Rivet-1.5.0: ./configure
>> --prefix=/afs/cern.ch/user/d/dweyh/local --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/
>> cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt--with-boost-incpath=/afs/
>> cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44--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/cern.ch/user/d/dweyh/build/Rivet-1.5.0: make -j2 && make
>> -j2 install
>>
>> All done. Now set some variables in your shell by sourcing, for bash
>> shell:
>> --------------------
>> E.g. rivet --list-analyses produced some output (although I didn't check
>> on HepMC files or the like...).
>>
>>
>> Maybe you can check your environmental variables?
>> 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:
>> --------------------
>> [lxplus244] /afs/cern.ch/user/d/dweyh > echo $LD_LIBRARY_PATH
>> /afs/
>> 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
>> --------------------
>> Roughly the first half should do it...
>>
>> Btw. you can try to run my installation (source /afs/
>> cern.ch/user/d/dweyh/rivetenv.[c]sh<http://cern.ch/user/d/dweyh/rivetenv.%5Bc%5Dsh>
>> ).
>>
>> Good luck,
>> Daniel
>>
>> Am 17.05.2011 um 16:54 schrieb Lovedeep Kaur Saini:
>>
>> Hi,
>>
>> I am trying to install Rivet in my CERN account following the instructions
>> from here: http://projects.hepforge.org/rivet/trac/wiki/GettingStarted
>>
>> When I do "./rivet-bootstrap", it complaints for: Using LCG platform tag =
>> x86_64-slc5-gcc41-opt
>> So, I tried: ./rivet-bootstrap --lcgtag=x86_64-slc5-gcc43-opt
>> 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?
>>
>> Regards,
>> Lovedeep
>> Graduate Student (CMS-LHC),
>> Panjab University, Chandigarh.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110518/20727ad6/attachment.html>


More information about the Rivet mailing list