<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I've been running agile+rivet locally for a while now, and this week
    attempted moving my runs to the grid. I still access my own copy of
    agile+rivet (which locally runs fine) and use a python script which
    calls 'agile-runmc ... &' and 'rivet ...'. If I use the PYTUNE
    or MSTP(52) flag to set an external PDF from lhapdf, I get a
    segmentation fault when running on the grid, and no problem when
    running locally. If I use internal PDFs included in pythia6,
    everything runs fine both on the grid and locally. <br>
    <br>
    At some point, I also had this segmentation fault locally, and
    traced it back with gdb (and a lot of manual print statements) to: <br>
    <font color="#333399"><i>line 471           throw
        runtime_error((string("Failed to load libraries: ") +
        dlerror()).c_str());</i></font><br>
    in AGILe-1.3.0/src/Core/Loader.cc. Recompiling both LHAPDF and
    pythia6 solved this. <br>
    <br>
    If I comment out the runtime_error and run on the grid, I get a
    python symbol lookup error:<br>
    <font color="#333399">python: symbol lookup error:
      mydirs/libpythia6.so: undefined symbol: pdfset_</font><br>
    <br>
    Do you have any idea what might cause this or what I could try to
    trace it back further? I'm entirely puzzled by the fact that
    everything is fine when processing locally and not when submitting
    to the grid, both methods are accessing the same hard drive with the
    agile & rivet distributions on it. I tried tracking from the
    agile-runmc script and got to FPythia.cc which calls PYEVT (at which
    point the symbol lookup error arrives, no events are produced), but
    I can't figure out where it goes wrong exactly or how to solve it. <br>
    <br>
    I checked when running on the grid what the output of 'lhapdf-config
    --pdfsets-path' is, and it is returning the correct folder and the
    needed LHpdf file is there. If versions are relevant, I'm using
    agile 1.3.0, rivet 1.6.0, pythia 6.425, lhapdf 5.8.6, python 2.4.3
    and gcc 4.1.2. I hope you can shed some light on this.<br>
    <br>
    Best regards and thanks in advance,<br>
    Sara<br>
    <br>
    <div class="moz-signature">-- <br>
      <p style="color:#505050;font-size:11px">
        <tt>Sara Alderweireldt        <a
            href="mailto:sara.alderweireldt@ua.ac.be"><span
              style="color:#003366">sara.alderweireldt@ua.ac.be</span></a><br>
          <span style="color:#003366">Universiteit</span> <span
            style="color:#660033">Antwerpen</span>    Phone: +32 (0)3
          265 3577<br>
          CGB.U.237 - Physics<br>
          Groenenborgerlaan 171<br>
          2020 Antwerpen            <a href="http://www.ua.ac.be/edf"><span
              style="color:#003366">http://www.ua.ac.be/edf</span></a><br>
          Belgium</tt>
      </p>
    </div>
  </body>
</html>