[Rivet] Cannot compile standad rivet analysis as plugin

Andy Buckley andy.buckley at cern.ch
Mon Jul 1 21:46:15 BST 2013


Hi Ulla,

I see references in there to Rivet 1.5.0 (and AGILe 1.2.0). Those are
both really old -- many _years_ old! The latest versions are 1.8.3 and
1.4.0! Where are you picking up your rivet-buildplugin script from?

Andy


On 01/07/13 22:31, Ulla Blumenschein wrote:
> Dear Krian and Roman,
> 
> I try to implement a new analysis and start with an old one to test my
> setup. I copied ATLAS_2010_S8919674.cc and .aida files locally and setup
> the prebuilt rivet:
> asetup --64 17.2.8,here
> source
> /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/rivetenv.sh
> <http://cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/rivetenv.sh>
> source
> /afs/.cern.ch/sw/lcg/external/MCGenerators/agile/1.2.0/x86_64-slc5-gcc43-opt/agileenv.sh
> <http://cern.ch/sw/lcg/external/MCGenerators/agile/1.2.0/x86_64-slc5-gcc43-opt/agileenv.sh> 
> 
> I can complie a plugin from a simple analysis code but when I try to
> build a plugin from the existing analysis I get:
> 
> [blumen at cookie Rivet]$ rivet-buildplugin RivetATLAS_2010_S8919674.so
> ATLAS_2010_S8919674.cc 
> g++ -o "RivetATLAS_2010_S8919674.so" -shared -fPIC
> -I/afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/include
> <http://cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/include>
> -I/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/include
> <http://cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/include>
> -I/afs/cern.ch/sw/lcg/external/fastjet/2.4.2p1/x86_64-slc5-gcc43-opt/include
> <http://cern.ch/sw/lcg/external/fastjet/2.4.2p1/x86_64-slc5-gcc43-opt/include>
> -I/afs/.cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt/include
> <http://cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt/include>
> -I/afs/cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44
> <http://cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44>
> -O2 -fPIC -Wall ATLAS_2010_S8919674.cc
> ATLAS_2010_S8919674.cc: In member function 'virtual void
> Rivet::ATLAS_2010_S8919674::init()':
> ATLAS_2010_S8919674.cc:66: error: 'class
> Rivet::LeadingParticlesFinalState' has no member named 'setLeadingOnly'
> ATLAS_2010_S8919674.cc:70: error: 'class
> Rivet::LeadingParticlesFinalState' has no member named 'setLeadingOnly'
> ATLAS_2010_S8919674.cc: At global scope:
> ATLAS_2010_S8919674.cc:204: error: expected constructor, destructor, or
> type conversion before ';' token
> /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/include/Rivet/Math/MathHeader.hh:40
> <http://cern.ch/sw/lcg/external/MCGenerators/rivet/1.5.0/x86_64-slc5-gcc43-opt/include/Rivet/Math/MathHeader.hh:40>:
> warning: 'Rivet::MAXINT' defined but not used
> 
> Do I need to include additional files locally?
> 
> Many thanks in advance,
> Ulla
> 
> -- 
> /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>     Ulla Blumenschein
>     II Physik, Uni Goettingen
>     Friedrich-Hund-Platz 1, D01.110
>     phone: 0049-551-397645
> /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> 
> 
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet
> 


-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN


More information about the Rivet mailing list