[Rivet] Agile returns nothing when running "agile-runmc"

Karina Flavia Loureiro Karina.Loureiro at cern.ch
Thu May 5 15:40:12 BST 2011



On May 5, 2011, at 4:12 PM, Andy Buckley wrote:

On 05/05/11 14:56, Karina Flavia Loureiro wrote:
> Hi Hendrik,
>
> It was indeed a mismatch.
>
> So I reconfigured  Agile with the following:
>  ./configure --prefix=/home/karina/rivet/local
> --with-lcgtag=i686-slc5-gcc43-opt
> --with-hepmc-lib=/home/karina/rivet/local/lib
>
> I have HepMC 2.06.03 installed locally.
>
> Now, my LD_LIBRARY_PATH is
> /afs/cern.ch/sw/lcg/external/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/ 
> afs/cern.ch/sw/lcg/external/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/ 
> afs/cern.ch/sw/lcg/external/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib:/ 
> home/karina/rivet/local/lib:/home/karina/rivet/local/lib:
>
>
> But, I still get the same results :(

Hi Karina,

You get *exactly* the same error? If you are still getting that error
about HEPEVT_Wrapper symbols, then please make sure that you run a full
"make clean" etc. before trying again: it's possible that some files
were not recompiled after you reconfigured (automake can't guess
everything!)


The second error that I saw in your first email was about a missing
HERWIG symbol:

/home/karina/rivet/local/lib/libAGILeFHerwig.so.8: undefined symbol:
hwhard_

It might be that that has cascaded from the other failed library
loading. To find out what symbols exist in libraries, and which are
expected to come from somewhere else at runtime, the "nm" utility is
very helpful. If you run e.g. "nm
/home/karina/rivet/local/lib/libAGILeFPythia.so | grep HEPEVT_Wrapper"
then symbols which are defined in that library will be marked with a "T"
(for "text"), while ones which are expected to be found somewhere else
will be labelled with a "U" (for "undefined"). That maybe sounds a bit
low-level, but it's not too complicated and I find that it's often the
easiest way to fix problems like this. For example, if "hwhard_" is
listed with a "U" by nm, then try searching for a version with a "T" in
the libherwig.so and other libraries that will be loaded... it's
hopefully defined *somewhere*!

Andy


Hi Andy,

So I rerun a full make clean or so I thought (I even went into the / 
home/karina/rivet/local/lib/ directory and deleted by hand all of the  
libraries related to Agile).  However, I am still finding the same  
problem.

I also checked the afs version and what I see as undefined is indeed  
undefined with the different libraries.

nm /afs/cern.ch/sw/lcg/external/MCGenerators/agile/1.2.2/x86_64-slc5- 
gcc43-opt/lib/libAGILeFPythia.so.* | grep HEPEVT_Wrapper
                  U _ZN5HepMC14HEPEVT_Wrapper13s_sizeof_realE
                  U _ZN5HepMC14HEPEVT_Wrapper20s_max_number_entriesE
                  U _ZN5HepMC14HEPEVT_Wrapper13s_sizeof_realE
                  U _ZN5HepMC14HEPEVT_Wrapper20s_max_number_entriesE

Anything else I can do?  I am going a bit insane.  I am at CERN if  
anyone is around.
Thank you,
Karina




More information about the Rivet mailing list