[Rivet] seg fault in rivet-bootstrap-lcg in lxplus install

Andy Buckley andy.buckley at cern.ch
Wed Aug 3 10:23:42 BST 2016


Hi Raghav,

This is very strange. I just tried the 2.5.0 version of 
rivet-bootstrap-lcg and it worked fine, giving me a functioning setup. 
At least it could list analyses without segfaulting.

It's possible that I've got something set by default in my shell 
environment that helps me, but by default on lxplus I get the same gcc 
4.4 and Python 2.6 as you do. Maybe someone else could try to reproduce 
your problem.

I've just updated the LCG bootstrap script to use LCG_85, a newer GCC 
and FastJet, etc. This also works for me. Maybe you'd have more luck 
with that?

To use the normal bootstrap on lxplus and other SL6 systems with an old 
system compiler you need to set up your environment to use a newer 
compiler and a version of Python compiled with the same. The LCG 
bootstrap does this automatically and puts the relevant lines into the 
env.sh script. From my updated LCG_85 build, the relevant lines are these:

source /cvmfs/sft.cern.ch/lcg/releases/LCG_85/gcc/4.9.3/x86_64-slc6/setup.sh
source 
/cvmfs/sft.cern.ch/lcg/releases/LCG_85/Python/2.7.10/x86_64-slc6-gcc49-opt/Python-env.sh

There are other, fancier ways to do it, but hopefully this will help. 
It's definitely a good idea to use a newer release than 2.4.1 -- at 
least 2.4.3, please! We will soon be releasing 2.5.1.

Andy



On 02/08/16 16:23, Raghav Kunnawalkam Elayavalli wrote:
> Hi Rivet Experts,
>
> I tried a fresh install of the rivet-bootstrap-lcg out of the box in an
> lxplus machine and after i did
> $ ./rivet-bootstrap-lcg
> [rkunnawa at lxplus016 RIVET]$ source
> /afs/cern.ch/work/r/rkunnawa/RIVET/local/env.sh
> <http://cern.ch/work/r/rkunnawa/RIVET/local/env.sh>
> [rkunnawa at lxplus016 RIVET]$ which rivet
> /afs/cern.ch/work/r/rkunnawa/RIVET/local/bin/rivet
> <http://cern.ch/work/r/rkunnawa/RIVET/local/bin/rivet>
> [rkunnawa at lxplus016 RIVET]$ which python
> /cvmfs/sft.cern.ch/lcg/releases/LCG_82/Python/2.7.10/x86_64-slc6-gcc48-opt/bin/python
> <http://sft.cern.ch/lcg/releases/LCG_82/Python/2.7.10/x86_64-slc6-gcc48-opt/bin/python>
> [rkunnawa at lxplus016 RIVET]$ echo $PYTHONPATH
> /afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/cvmfs/sft.cern.ch/lcg/releases/LCG_82/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/cvmfs/sft.cern.ch/lcg/releases/LCG_85/Python/2.7.10/x86_64-slc6-gcc49-opt/lib/python2.7/site-packages:
> <http://cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/cvmfs/sft.cern.ch/lcg/releases/LCG_82/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/afs/cern.ch/work/r/rkunnawa/RIVET/local/lib/python2.7/site-packages:/cvmfs/sft.cern.ch/lcg/releases/LCG_85/Python/2.7.10/x86_64-slc6-gcc49-opt/lib/python2.7/site-packages:>
> [rkunnawa at lxplus016 RIVET]$ rivet --list-analyses
> Segmentation fault
> [rkunnawa at lxplus016 RIVET]$
>
> I tried this with LCG_82 and LCG_85 (with appropriately changing the
> other locations) and i get the same issues. any ideas whats happening?
>
> I also tried to install rivet with the normal bootstrap and i got an
> issue with yoda installation since the default gcc in lxplus is 4.4 and
> it doesnt support C++11. so any ideas how i can over come that issue? I
> would really like to use something like the herwig bootstrap which
> installs all the necessary items.
>
> In the meanwhile should i try to install an older version of rivet? one
> that doesnt need c++11?
> Again, the whole reason why im using this is so that i can run my rivet
> analysis on the lxplus batch system since at the moment (my earlier lcg
> installation) doesnt work and gives me weird python errors which even
> the cern service desk is having a hard time with.
>
> Cheers
> Raghav Kunnawalkam Elayavalli
> PhD Candiate
> Rutgers University
> http://physics.rutgers.edu/~raghav/
> <http://www.google.com/url?q=http%3A%2F%2Fphysics.rutgers.edu%2F~raghav%2F&sa=D&sntz=1&usg=AFQjCNENvwedEL22DMATPxyb0WMvVEm9Bw>
>
>
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
>


-- 
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow


More information about the Rivet mailing list