|
[Rivet] Rivet on GenserAndy Buckley andy.buckley at ed.ac.ukSun Jul 3 18:46:33 BST 2011
It looks to me like you don't have the appropriate compiler set up: the complaint about the "GLIBCXX_3.4.9" version not found is indeicative of this mismatch. It happens a lot because none of the LCG applications use the default SLC5 compilers etc. Benedikt/Genser, could a central "LCG environment" script (or set of scripts) be provided so that the correct environment for Genser's building and users' running of generator codes is well-defined? I've looked for such a thing before, but as far as I'm aware it doesn't exist in or under /afs/cern.ch/sw/lcg. Such env scripts would at least need to specify the GCC and Python versions... those are already required to be set to particular versions to run the generator packages, since they were *compiled with specific versions, but what those versions are isn't at all obvious! IMO it would also make sense for all the Genser packages' setup scripts to source the appropriate main compiler/Python environment. If it helps, I have a Python script which returns the appropriate LCG tag for a given machine, with architecture overrides possible... I offered this to LCG before, but despite interest it never seemed to go anywhere. I use it with success in my own lxplus setup scripts. Thanks, Andy On 03/07/11 13:12, Hannes Jung wrote: > Dear Riveties & Gensers > > just was trying to run rivet on lxplus with the genser installation, and > got the > following error message: > ----------------------- > [lxplus432] ~/scratch0/rivet $ source > /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.1/x86_64-slc5-gcc43-opt/rivetenv.csh > [lxplus432] ~/scratch0/rivet $ echo $PYTHONPATH > /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.1/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.1/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.3.0/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.4.0/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.4.0/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages:/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.4.0/x86_64-slc5-gcc43-opt/lib/python2.6/site-packages > [lxplus432] ~/scratch0/rivet $ which rivet > /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.1/x86_64-slc5-gcc43-opt/bin/rivet > [lxplus432] ~/scratch0/rivet $ rivet --help > rivet requires the 'rivet' Python module > /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required > by > /afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/lib/libHepMC.so) > ------------------------ > > what am I doing wrong ? > > Thanks a lot > > cheers > > hannes > > > *********************************************************************** > Hannes Jung > Email: Hannes.Jung at cern.ch <mailto:Hannes.Jung at cern.ch> > mobile :+49 40 8998 93741 > http://www.desy.de/~jung > Tel: +49 (0) 40 8998 3741 (DESY) > Tel: +41 22 76 62602 (CERN) > CERN - PH > 42-2-033 > CH-1211 Genève 23 > Switzerland > *********************************************************************** > > > > > > > _______________________________________________ > 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 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |