<!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>&gt; I would to it in place of all the explicit path settings. In fact, on<BR>
&gt; lxplus I don't even need the swig part. All I do is<BR>
<BR>
&gt; 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 &gt; 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 &gt; ./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&nbsp; --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 &amp;&amp; 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 &gt; source rivetenv.sh<BR>
[pcalicebhm09] /home/snavin/my_work/rivet_test &gt; agile-runmc --list-gens<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;/home/snavin/my_work/rivet_test/local/bin/agile-runmc&quot;, line 95, in &lt;module&gt;<BR>
&nbsp;&nbsp;&nbsp; import AGILe<BR>
&nbsp; File &quot;/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/AGILe.py&quot;, line 25, in &lt;module&gt;<BR>
&nbsp;&nbsp;&nbsp; _AGILe = swig_import_helper()<BR>
&nbsp; File &quot;/home/snavin/my_work/rivet_test/local/lib64/python2.4/site-packages/AGILe.py&quot;, line 21, in swig_import_helper<BR>
&nbsp;&nbsp;&nbsp; _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>