<!DOCTYPEÂ HTMLÂ PUBLICÂ "-//W3C//DTDÂ HTMLÂ 3.2//EN">
<HTML>
<HEAD>
<METAÂ HTTP-EQUIV="Content-Type"Â CONTENT="text/html;Â charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE:Â [Rivet]Â AGILe</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> I would to it in place of all the explicit path settings. In fact, on<BR>
> lxplus I don't even need the swig part. All I do is<BR>
<BR>
> source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh<BR>
<BR>
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.<BR>
<BR>
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<BR>
<BR>
[pcalicebhm09] /home/snavin/my_work/rivet_test > source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh<BR>
[pcalicebhm09] /home/snavin/my_work/rivet_test > ./rivet-bootstrap --no-install-rivet --install-agile --dev-mode on<BR>
Checking for developer mode programs<BR>
Updating AGILe SVN working copy<BR>
LCG area available: using LCG-built packages<BR>
Using LCG platform tag = x86_64-slc5-gcc43-opt<BR>
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<BR>
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<BR>
Building in /home/snavin/my_work/rivet_test/build/agile: make -j2 && make -j2 install<BR>
<BR>
All done. Now set some variables in your shell:<BR>
<BR>
In sh shell:<BR>
export PATH=/home/snavin/my_work/rivet_test/local/bin:$PATH<BR>
export TEXMFHOME=/home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$TEXMFHOME<BR>
export HOMETEXMF=/home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$HOMETEXMF<BR>
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<BR>
export PYTHONPATH=/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages:$PYTHONPATH<BR>
. /home/snavin/my_work/rivet_test/local/share/Rivet/rivet-completion<BR>
. /home/snavin/my_work/rivet_test/local/share/AGILe/agile-completion<BR>
<BR>
In csh shell:<BR>
setenv PATH /home/snavin/my_work/rivet_test/local/bin:$PATH<BR>
setenv TEXMFHOME /home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$TEXMFHOME<BR>
setenv HOMETEXMF /home/snavin/my_work/rivet_test/local/share/Rivet/texmf:$HOMETEXMF<BR>
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<BR>
setenv PYTHONPATH /home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages:$PYTHONPATH<BR>
<BR>
These can be used by sourcing, e.g.<BR>
source rivetenv.sh<BR>
or<BR>
source rivetenv.csh<BR>
[pcalicebhm09] /home/snavin/my_work/rivet_test > source rivetenv.sh<BR>
[pcalicebhm09] /home/snavin/my_work/rivet_test > agile-runmc --list-gens<BR>
Traceback (most recent call last):<BR>
 File "/home/snavin/my_work/rivet_test/local/bin/agile-runmc", line 95, in <module><BR>
 import AGILe<BR>
 File "/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/AGILe.py", line 25, in <module><BR>
 _AGILe = swig_import_helper()<BR>
 File "/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/AGILe.py", line 21, in swig_import_helper<BR>
 _mod = imp.load_module('_AGILe', fp, pathname, description)<BR>
ImportError: /home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/_AGILe.so: undefined symbol: Py_InitModule4<BR>
<BR>
Sparsh<BR>
</FONT>
</P>
</BODY>
</HTML>