Cant install MadAnalysis in Madgraph

Asked by Liliana on 2021-02-15

Hi I had MadAnalysis but it wasnt working (always got errors when running files) and so I decided to re download it using MadGraph but I get this error when doing so

MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/lilianaqz/Desktop/MG5_aMC_v2_8_2/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_root.log
MA5-ERROR: The library building aborted.

when I go to the HEPTools folder there is no madanalysis5 folder or anything.

Just in case the error that always prompted in MadAnalysis was

MA5-ERROR: impossible to execute the commands: /usr/bin/root-config --libdir --incdir --version

and when running a process the compilation.log file said this

make: /home/lilianaqz/Desktop/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: Command not found
g++ -Wall -O3 -fPIC -I/home/lilianaqz/Desktop/madanalysis5/tools/ -I./ -o Main/main.o -c Main/main.cpp
In file included from ./SampleAnalyzer/User/Analyzer/user.h:5,
                 from ./SampleAnalyzer/User/Analyzer/analysisList.h:2,
                 from Main/main.cpp:12:
/home/lilianaqz/Desktop/madanalysis5/tools/SampleAnalyzer/Interfaces/root/RootMainHeaders.h:30:10: fatal error: TROOT.h: No such file or directory
   30 | #include <TROOT.h>
      | ^~~~~~~~~
compilation terminated.
make: *** [Makefile:101: Main/main.o] Error 1

I have ROOT downloaded and this line in the bashrc:

source /home/lilianaqz/Desktop/root-6.22.06/config/thisroot.sh

I dont know what the problem is and havent found any similar posts about this.

thanks in advance :)

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2021-02-15
Last reply:
2021-02-15

You might want to change the project to MA5 such that MA5 author can help you.
My only suggestion is to do
install MadAnalysis --no_root_in_MA5

to avoid to link to root

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.