[Rivet] Rivet installation -- AFS

Andy Buckley andy.buckley at ed.ac.uk
Tue Jul 27 10:12:04 BST 2010


On 26/07/10 22:56, Sercan Sen wrote:
> 
> Hi Andy, 
> 
> Thanks a lot --it works. Please see below a few details for some feedback.

Excellent, thanks.

> It set the PYTHONPATH but complained about libstdc++.so.6. 
> 
> [lxplus256] ~/scratch0/Rivetlocal $ setenv PYTHONPATH
> /afs/cern.ch/user/s/ssen/scratch0/Rivetlocal/local/lib64/python2.4/site-packages
> [lxplus256] ~/scratch0/Rivetlocal $ echo $PYTHONPATH
> /afs/cern.ch/user/s/ssen/scratch0/Rivetlocal/local/lib64/python2.4/site-packages
> [lxplus256] ~/scratch0/Rivetlocal $ agile-runmc --help
> Traceback (most recent call last):
>   File
> "/afs/cern.ch/user/s/ssen/scratch0/Rivetlocal/local/bin/agile-runmc",
> line 95, in ?
>     import AGILe
>   File
> "/afs/cern.ch/user/s/ssen/scratch0/Rivetlocal/local/lib64/python2.4/site-packages/AGILe.py",
> line 28, in ?
>     import _AGILe
> ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not
> found (required by
> /afs/cern.ch/user/s/ssen/scratch0/Rivetlocal/local/lib64/python2.4/site-packages/_AGILe.so)
> [lxplus256] /usr/lib64 $ ll libstdc++.so.*
> lrwxrwxrwx 1 root     18 Jul 24 20:57 libstdc++.so.5 -> libstdc++.so.5.0.7
> -rwxr-xr-x 1 root 827848 Apr 10  2007 libstdc++.so.5.0.7
> lrwxrwxrwx 1 root     18 Jul 24 20:53 libstdc++.so.6 -> libstdc++.so.6.0.8
> -rwxr-xr-x 1 root 972216 Mar 31 12:20 libstdc++.so.6.0.8
> [lxplus256] ~/scratch0/Rivetlocal $ rpm -q glibc
> glibc-2.5-49.el5_5.2
> 
> However, I realized that I forgot to set gcc43 when I login to the new
> terminal.

Yeah, this is a real pain on lxplus... the default system compiler isn't
compatible with any of the LCG libraries! I have those gcc43 setup
sourcing lines in my .bashrc (.cshrc for you) file because I always
forget to override the default, and there's no reason I would ever use
the system compiler. I'll add something to the wiki page about that, and
put some "undefined variable protection" into the code that generates
rivetenv.csh: thanks for the report.

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh


More information about the Rivet mailing list