TObject.h: No such file or directory

Asked by Keping Xie

When I run the mg5_amc with aMCfast, I always met a compilation error with "TObject.h: No such file or directory".
My setting is:
generate p p > w+ [QCD]
with fix_order = on,
And change iappl=1,
lhapdf
id=11000,
download "analysis_amcfast_root_pp_V.f" from aMCfast website https://amcfast.hepforge.org/examples.html
and set the "FO_analyse_card.dat" with
FO_ANALYSIS_FORMAT = root
FO_ANALYSE = analysis_amcfast_root_pp_V.o

The error report is
WARNING: A compilation Error occurs when trying to compile /home/keping/MG5_aMC/amcfast_test_1/SubProcesses/P0_dxu_wp.
The compilation fails with the following output message:
    g++ -O -I/home/keping/local/fastjet/include -c -I. -I../../FixedOrderAnalysis/ ../../FixedOrderAnalysis//rbook_be8.cc
    ../../FixedOrderAnalysis//rbook_be8.cc:19:21: fatal error: TObject.h: No such file or directory
     #include "TObject.h"
                         ^
    compilation terminated.
    make: *** [rbook_be8.o] Error 1

Command "launch auto " interrupted with error:
OSError : [Errno 2] No such file or directory: '/home/keping/MG5_aMC/amcfast_test_1/SubProcesses/MADatNLO.root'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/home/keping/MG5_aMC/amcfast_test_1/run_12_tag_1_debug.log'.
Please attach this file to your report.

Is anyone who knows how to solve this problem?

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Rikkert Frederix Edit question
Last query:
Last reply:
Revision history for this message
Rikkert Frederix (frederix) said :
#1

Dear Keping,

You have to have ROOT installed and give the path in the FO_Analyse_card. Just like already explained in that card (at the bottom).

# When linking with root, the following settings are a working
# example on lxplus (CERN) as of July 2014. When using this, comment
# out the lines above and replace <PATH_TO_ROOT> with the physical
# path to root,
# e.g. /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.11/x86_64-slc6-gcc46-dbg/root/
FO_ANALYSIS_FORMAT = root
FO_EXTRALIBS = Core Cint Hist Matrix MathCore RIO dl Thread
FO_EXTRAPATHS = <PATH_TO_ROOT>/lib
FO_INCLUDEPATHS = <PATH_TO_ROOT>/include
FO_ANALYSE = analysis_root_template.o

Best regards,
Rikkert

Can you help with this problem?

Provide an answer of your own, or ask Keping Xie for more information if necessary.

To post a message you must log in.