Madweight in MG5_aMC_v2_0_2

Asked by Anne-Catherine Le Bihan on 2014-02-12

Hi,

I'm new to MG5_aMC@NLO and Madweight and am trying to follow the tuturial "TopMassMeasurementExample",
https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/TOPMassMeasurmentExample.

I'm having troubles to compile Delphes :

/cvmfs/cms.cern.ch/slc6_amd64_gcc472/external/gcc/4.7.2-cms/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/readers/DelphesCMSFWLite.o: undefined reference to symbol '_ZN4ROOT4Math9GenVector5ThrowEPKc'
/cvmfs/cms.cern.ch/slc6_amd64_gcc472/external/gcc/4.7.2-cms/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: note: '_ZN4ROOT4Math9GenVector5ThrowEPKc' is defined in DSO /cvmfs/cms.cern.ch/slc6_amd64_gcc472/cms/cmssw/CMSSW_6_2_6/external/slc6_amd64_gcc472/lib/libGenVector.so so try adding it to the linker command line
/cvmfs/cms.cern.ch/slc6_amd64_gcc472/cms/cmssw/CMSSW_6_2_6/external/slc6_amd64_gcc472/lib/libGenVector.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

Is a specific Root version recommended ?

Also the following commands are failing :

generate p p > t t~ , t > b l+ vl, t~ > b~ l- vl~
output madweight TUTO_MW_MADWEIGHT

A "madweight" directory is created instead of a "TUTO_MW_MADWEIGHT" directory.
The "madweight" option doesn't seem to be recognized.

What is going wrong ?
Thanks for your help,

Anne-Catherine

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Pavel Demin
Solved:
2014-02-13
Last query:
2014-02-13
Last reply:
2014-02-12

Hi Anne-Catherine,

For Delphes, I will simply forward your question to Delphes author:
https://cp3.irmp.ucl.ac.be/projects/delphes/ticket/253

Also the following commands are failing :

generate p p > t t~ , t > b l+ vl, t~ > b~ l- vl~
output madweight TUTO_MW_MADWEIGHT

A "madweight" directory is created instead of a "TUTO_MW_MADWEIGHT" directory.
The "madweight" option doesn't seem to be recognized.

Are you using the 2.1.0(beta) version of MG5_AMC? the official version of MG5_aMC doesn't include MadWeight but this is a matter of weeks before 2.1.0 becomes the official version of MG5_aMC

Cheers,

Olivier

Thanks , will try again with 2.1.0(beta) !
Cheers,

Anne-Catherine

Best Pavel Demin (pavel-demin) said : #3

Hi Anne-Catherine,

Thanks for finding this linking problem.

This problem can be fixed by adding '-lGenVector' to the DELPHES_LIBS variable in Delphes Makefile on line 32. Here is how this line looks after the modification:

DELPHES_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lCommonToolsUtils

I've put together a patch release with just this fix. It's now downloaded by default when you type 'install Delphes' from the mg5 and mg5_amc command line.

Could you, please try to remove Delphes from your mg5_amc directory and redo 'install Delphes'?

Cheers,

Pavel

Salut Pavel !

Thanks a lot for fixing it, it's compiling now !
Cheers,

Anne-Catherine

Thanks Pavel Demin, that solved my question.