|
[Rivet] AGILeEike von Seggern jan.eike.von.seggern at physik.hu-berlin.deWed May 19 14:40:09 BST 2010
Hi Sparsh, sorry there was a copy and paste error in my last mail. You need to add the .../lib/ subdirectory of your compiler to LD_LIBRARY_PATH, i.e: export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2p1/x86_64-slc5-gcc34-opt/bin:$LD_LIBRARY_PATH Sorry! Best eike On Wed, May 19, 2010 at 15:24 +0200, Sparsh Navin wrote: > Hi Eike, > > I tried this but still get the same error... > > [pcalicebhm09] /home/snavin/my_work/rivet_test > export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib:$LD_LIBRARY_PATH > [pcalicebhm09] /home/snavin/my_work/rivet_test > agile-runmc --list-gens > Traceback (most recent call last): > File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in <module> > import AGILe > File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in <module> > _AGILe = swig_import_helper() > File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper > _mod = imp.load_module('_AGILe', fp, pathname, description) > ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so) > > Notice that I included /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib as /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib was not an option. > > [pcalicebhm09] /home/snavin/my_work/rivet_test > echo $LD_LIBRARY_PATH > /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/lib: > /home/snavin/my_work/rivet_test/local/lib: > /afs/cern.ch/sw/lcg/external/HepMC/2.05.00/x86_64-slc5-gcc43-opt/lib: > /afs/cern.ch/sw/lcg/external/fastjet/2.4.2/x86_64-slc5-gcc43-opt/lib > > Sparsh > > ________________________________ > > From: Eike von Seggern [mailto:jan.eike.von.seggern at physik.hu-berlin.de] > Sent: Wed 5/19/2010 2:59 PM > To: Sparsh Navin > Cc: Hendrik Hoeth; Rivet > Subject: Re: [Rivet] AGILe > > > > Hi, > > what's the contents of $LD_LIBRARY_PATH ? Since you've compiled with a > "non-system" compiler you have to set this environment variable to > contain the appropriate version of the system libraries (libstdc++.so in > this case). Usually there is a "setup.sh" script in the directory of the > compiler version that does this for you. > > You can also try to do > > export LD_LIBRARY_PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/lib:$LD_LIBRARY_PATH > > Hope this helps, > > eike > > > On Wed, May 19, 2010 at 14:32 +0200, Sparsh Navin wrote: > > Hi, > > > > I try to list the generators to use... > > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > agile-runmc --list-gens > > Traceback (most recent call last): > > File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in <module> > > import AGILe > > File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 25, in <module> > > _AGILe = swig_import_helper() > > File "/home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/AGILe.py", line 21, in swig_import_helper > > _mod = imp.load_module('_AGILe', fp, pathname, description) > > ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so) > > portError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages/_AGILe.so) > > > > My paths are set as follows > > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > echo $PATH > > /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc34-opt/bin:/home/snavin/my_work/rivet_test/local/bin:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2p1/x86_64-slc5-gcc34-opt/bin:/afs/cern.ch/user/s/snavin/bin:/afs/cern.ch/user/s/snavin/scripts:/usr/sue/bin:/usr/local/bin/:/usr/local/bin/X11:/usr/bin:/bin:/cern/pro/bin:/usr/kerberos/bin > > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > echo $PYTHONPATH > > /home/snavin/my_work/rivet_test/local/lib/python2.6/site-packages:/afs/cern.ch/alice/library/afs_volumes/vol12/root/lib: > > [pcalicebhm09] /home/snavin/my_work/rivet_test > > > > > Sparsh > > > > > > > > ________________________________ > > > > From: Sparsh Navin > > Sent: Wed 5/19/2010 12:44 PM > > To: Hendrik Hoeth > > Cc: Rivet > > Subject: RE: [Rivet] AGILe > > > > > > Hi Hendrik, > > > > I removed the alice parts of my PATH and then retried to install agile. It worked and ended with a message saying "All done. Now set some variables in your shell." > > > > I set these variables. > > > > What next? > > > > Sparsh > > > > > > ________________________________ > > > > From: Hendrik Hoeth [mailto:hendrik.hoeth at cern.ch] > > Sent: Wed 5/19/2010 11:58 AM > > To: Sparsh Navin > > Cc: Rivet > > Subject: Re: [Rivet] AGILe > > > > > > > > Hi, > > > > Thus spake Sparsh Navin (Sparsh.Navin at cern.ch): > > > > > I am struggling to get AGILe locally. Below is what I get... > > > > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > . /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > export PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH > > > [pcalicebhm09] /home/snavin/my_work/rivet_test > ./rivet-bootstrap --no-install-rivet --install-agile --dev-mode on --force on > > > Checking for developer mode programs > > > Updating AGILe SVN working copy > > > Bootstrapping autoconf files > > > libtoolize: `/afs/cern.ch/alice/library/local/share/aclocal/libtool.m4' is serial 47, less than 48 in `aclocal.m4' > > > Use `--force' to replace newer libtool files with this version. > > > autoreconf: libtoolize failed with exit status: 1 > > > > Welcome to Alice. Looking at your PATH you probably pick up > > /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin/libtoolize. > > Try removing /afs/cern.ch/alice/library/afs_volumes/vol12/bin and > > /afs/cern.ch/alice/library/afs_volumes/vol12/local/bin from your PATH. > > > > You also seem to mix gcc-3.4 with gcc-4.3. Depending on what exactly you > > do this might or might not work. But let's sort out the libtoolize issue > > first. > > > > Cheers, > > > > Hendrik > > > > -- > > Don't knock the weather. If it didn't change once in a while, nine > > out of ten people couldn't start a conversation. -- Kin Hubbard > > > > > > > _______________________________________________ > > Rivet mailing list > > Rivet at projects.hepforge.org > > http://www.hepforge.org/lists/listinfo/rivet > > >
More information about the Rivet mailing list |