[Rivet] Fwd: CPC Program Library - CPC-S-13-00112

Frank Siegert frank.siegert at cern.ch
Tue Mar 19 15:48:30 GMT 2013


Hi Andy,

> From a quick look that appears to be a real problem, not "just" a
> Python-interface-for-doc-making one. I would guess that FastJet has been
> built without the --enable-all-plugins flag. Something isn't right, but
> IIRC we don't even provide an interface to use SISCone...

Our bootstrap script uses --enable-allcxxplugins for the FastJet
configure, and that seems to have worked as far as I can tell from her
logfile:

  Downloading http://www.fastjet.fr/repo/fastjet-3.0.3.tar.gz
  Configuring in
/home/cphillips/CPC/newprograms/CPC-D-13-00117/build/fastjet-3.0.3:
./configure --prefix=/home/cphillips/CPC/newprograms/CPC-D-13-00117/RIVET
--enable-shared --enable-allcxxplugins
  Building in /home/cphillips/CPC/newprograms/CPC-D-13-00117/build/fastjet-3.0.3:
make -j2 && make -j2 install

And SISCone is C++ as far as I know, so it should have been built.

To me the log file looks a bit like it's trying to link
libfastjetplugins.so.0 without also linking -lsiscone_spherical
-lsiscone... but all of those should be dependencies of libRivet.so
according to our configure.ac:

FASTJETCONFIGLIBADD="$($FJCONFIG --plugins --shared --libs | sed
's/\-\-rpath/-rpath/g')"

Anyway, if nobody has a better idea, I'll ask her to run a few
diagnosis commands on the FastJet installation.

Cheers,
Frank

>
> On 19/03/13 15:59, Frank Siegert wrote:
>> Dear fellow-Riveters,
>>
>> During the submission process to CPC the program code gets included in
>> the CPC Program Library. I submitted the tarball and corresponding
>> instructions (referring to rivet-bootstrap), but on the machine of the
>> librarian (Ubuntu 12.04 64bit) the bootstrap script fails with a
>> linker error, cf. attachment:
>>
>> /usr/bin/python mk-analysis-html analyses.html
>> Traceback (most recent call last):
>>   File "mk-analysis-html", line 43, in <module>
>>     import rivet
>>   File "/home/cphillips/CPC/newprograms/CPC-D-13-00117/build/Rivet-1.8.2/pyext/build/lib.linux-x86_64-2.7/rivet/__init__.py",
>> line 16, in <module>
>>     from rivetwrap import *
>>   File "/home/cphillips/CPC/newprograms/CPC-D-13-00117/build/Rivet-1.8.2/pyext/build/lib.linux-x86_64-2.7/rivet/rivetwrap.py",
>> line 26, in <module>
>>     _rivetwrap = swig_import_helper()
>>   File "/home/cphillips/CPC/newprograms/CPC-D-13-00117/build/Rivet-1.8.2/pyext/build/lib.linux-x86_64-2.7/rivet/rivetwrap.py",
>> line 22, in swig_import_helper
>>     _mod = imp.load_module('_rivetwrap', fp, pathname, description)
>> ImportError: /home/cphillips/CPC/newprograms/CPC-D-13-00117/RIVET/lib/libfastjetplugins.so.0:
>> undefined symbol: _ZN7siscone8Csiscone12_banner_ostrE
>>
>> I'm not able to reproduce this on my Laptop (Ubuntu 12.04 32bit), and
>> before going into remote debugging I was wondering whether any of you
>> have seen this kind of error before?
>>
>> (As an aside: Should we maybe disable the building of the manual
>> during rivet-bootstrap by default to avoid these kinds of Python
>> problems?)
>>
>> Cheers,
>> Frank


More information about the Rivet mailing list