|
[Rivet] AGILeSparsh Navin Sparsh.Navin at cern.chMon Jun 7 17:18:12 BST 2010
> I would to it in place of all the explicit path settings. In fact, on > lxplus I don't even need the swig part. All I do is > source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh I still get the same message as before. The reason I set the paths explicitly is because by default there are some ALICE library paths. If I just source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh without setting the paths, I get [pcalicebhm09] /home/snavin/my_work/rivet_test > source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh [pcalicebhm09] /home/snavin/my_work/rivet_test > ./rivet-bootstrap --no-install-rivet --install-agile --dev-mode on Checking for developer mode programs Updating AGILe SVN working copy LCG area available: using LCG-built packages Using LCG platform tag = x86_64-slc5-gcc43-opt Boost's headers are not installed properly in /afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt Configuring in /home/snavin/my_work/rivet_test/build/agile: ./configure --prefix=/home/snavin/my_work/rivet_test/local --with-lcgtag=x86_64-slc5-gcc43-opt --with-hepmc=/afs/cern.ch/sw/lcg/external/HepMC/2.05.00/x86_64-slc5-gcc43-opt --with-boost=/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt --with-boost-incpath=/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt/include/boost-1_42 Building in /home/snavin/my_work/rivet_test/build/agile: make -j2 && make -j2 install All done. Now set some variables in your shell: In sh shell: export PATH=/home/snavin/my_work/rivet_test/local/bin:$PATH export TEXMFHOME=/home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$TEXMFHOME export HOMETEXMF=/home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$HOMETEXMF export LD_LIBRARY_PATH=/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:$LD_LIBRARY_PATH export PYTHONPATH=/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages:$PYTHONPATH . /home/snavin/my_work/rivet_test/local/share/Rivet/rivet-completion . /home/snavin/my_work/rivet_test/local/share/AGILe/agile-completion In csh shell: setenv PATH /home/snavin/my_work/rivet_test/local/bin:$PATH setenv TEXMFHOME /home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$TEXMFHOME setenv HOMETEXMF /home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$HOMETEXMF setenv LD_LIBRARY_PATH /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:$LD_LIBRARY_PATH setenv PYTHONPATH /home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages:$PYTHONPATH These can be used by sourcing, e.g. source rivetenv.sh or source rivetenv.csh [pcalicebhm09] /home/snavin/my_work/rivet_test > source rivetenv.sh [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/lib64/python2.4/site-packages/AGILe.py", line 25, in <module> _AGILe = swig_import_helper() File "/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/AGILe.py", line 21, in swig_import_helper _mod = imp.load_module('_AGILe', fp, pathname, description) ImportError: /home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/_AGILe.so: undefined symbol: Py_InitModule4 Sparsh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.hepforge.org/lists-archive/rivet/attachments/20100607/59465bc1/attachment.htm
More information about the Rivet mailing list |