[Rivet] Fwd: Running RAPGAP with RIVET

Tim Martin tim.martin at cern.ch
Fri Apr 16 12:01:57 BST 2010


Hi Andy,

I tried the new Loder.cc reautoconf'd, configured and made. AGILe did
not then find RAPGAP as an option to run.

Interestingly, I reverted back to r700, re-installed, got the old
error back then added the one line below

baselibs.push_back(GenLibInfo("libpythia6", "pythia6", "421"));   //L361
baselibs.push_back(GenLibInfo("libpythia6_dummies", "pythia6",
"421"));  //L362 - Tim addition

Once more, after compilation, rapgap was not found.

I'm getting...

nm -CD libpythia6.so | grep pytime
U pytime_

nm -CD libpythia6_dummy.so | grep pytime
00000000000016a0 T pytime_

nm librapgap32.so | grep pytime
*nothing*

As for running rapgap without AGILe, it produces a few event summaries
(I presume it will output all with changes to steering) along with all
the other assorted MC output (~tamartin/public/rapgapout), I tried
piping it straight into rivet and manually snipping out the event
summaries bit and running over the file but both times just says:

streaming input: end of stream found setting badbit.
Failed to initialise on event file -

Thanks, Tim.

On 16 April 2010 00:02, Holger Schulz <holger.schulz at physik.hu-berlin.de> wrote:
> Andy Buckley wrote:
>>
>> On 15/04/10 15:11, Tim Martin wrote:
>>
>>>
>>> I guess so, I've tried other versions of Pythia through changing the...
>>>
>>> baselibs.push_back(GenLibInfo("libpythia6", "pythia6", "419"));
>>>
>>> ...line but no luck.
>>>
>>
>> I've just rewritten some chunks of that code to make AGILe (the SVN
>> head) try all versions of Pythia. It shouldn't change the symbol content
>> of the libraries though: that bit doesn't change between versions. In
>> particular, PYTIME is a dummy routine because different FORTRAN
>> implementations provide different extensions for getting date-time
>> information.
>>
>> Okay, here's some examples of where pytime_ is defined: it's undefined
>> in Genser's libpythia.so, which is why you need it:
>>
>
> Ah, ok, my libpythia was compiled from the source files I
> grapped from the pythia homepage.
>>
>> andy at duality:~/proj/hep/agile$ nm
>> /home/andy/genserarea/pythia6/422.2/i686-Linux-gcc44-opt/lib/libpythia6.so
>> | grep pytime
>>         U pytime_
>>
>> (U="undefined")
>>
>> but it is defined in libpythia_dummy.so, which is why AGILe works for
>> the normal Pythia, which loads the dummies library:
>>
>> andy at duality:~/proj/hep/agile$ nm
>>
>> /home/andy/genserarea/pythia6/422.2/i686-Linux-gcc44-opt/lib/libpythia6_dummy.so
>> | grep pytime
>> 00000e70 T pytime_
>>
>> (T="text")
>>
>> I'm assuming that Charybdis, AlpGen and other generators that piggyback
>> on Pythia also supply their own pytime_ dummy, since none of the AGILe
>> libraries currently provide (or even know about) it:
>>
>> andy at duality:~/proj/hep/agile$ for i in
>> /home/andy/heplocal/lib/libAGILe*.so; do nm $i | grep pytime; done
>> andy at duality:~/proj/hep/agile$
>>
>> Can you try running
>> nm path/to/librapgap.so | grep pytime
>> to see if it defines this symbol? Maybe we should be loading
>> libpythia_dummies as well... I've added it in commented-out form on line
>> 368 of the src/Core/Loader.cc file (in the SVN head), so you could try
>> updating from SVN, uncommenting, recompiling and reinstalling and see if
>> it helps. Maybe get a different error message, at least ;)
>>
>>  Also tried your suggestion of piping rapgap
>>
>>>
>>> straight into Rivet but that sadly did not work either.
>>>
>>
>> Weird. My only guess is that it isn't writing HepMC... maybe its own
>> format, maybe a dump of the HEPEVT common block?
>>
>
> Exactly.
>>
>> Andy
>>
>>
>
>



-- 
-+-+-+-+ Tim Martin +-+ ATLAS +-+-+-+-
Physics West, Room W313
University of Birmingham, B152TT
Tel: (+44)121 414 4631
Web: http://cern.ch/Tim.Martin


More information about the Rivet mailing list