fastjet compile problem when installing ma5

Asked by Hesham El Faham

Hi,

When trying to install madanalysis5 within madgraph, I get this error:
-->
MA5: Component 6/11 - library: interface to FastJet
MA5: - Cleaning the project before building the library ...
MA5-DEBUG: LogFile: /home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/mrproper_fastjet.log
MA5-DEBUG: Makefile: Makefile_fastjet
MA5-DEBUG: Command: make mrproper --file=Makefile_fastjet
MA5: - Compiling the source files ...
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
MA5-ERROR: The library building aborted.

Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
Command "install MadAnalysis5" interrupted with error:
InvalidCmd : Installation of madanalysis5 failed.
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.
<--
The following is the error .log file:
-->
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFMidpoint.o -c fastjet/ClusterAlgoCDFMidpoint.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoStandard.o -c fastjet/ClusterAlgoStandard.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFJetClu.o -c fastjet/ClusterAlgoCDFJetClu.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/DJRextractor.o -c fastjet/DJRextractor.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoGridJet.o -c fastjet/ClusterAlgoGridJet.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoSISCone.o -c fastjet/ClusterAlgoSISCone.cpp
c++ -Wall -O3 -fPIC -I/home/elfaham/Downloads/tools/mg5_patch/mg5amcnlo/2.7.3/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoFastJet.o -c fastjet/ClusterAlgoFastJet.cpp
fastjet/ClusterAlgoCDFMidpoint.cpp:31:10: fatal error: fastjet/CDFMidPointPlugin.hh: No such file or directory
 #include <fastjet/CDFMidPointPlugin.hh>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile_fastjet:89: recipe for target 'fastjet/ClusterAlgoCDFMidpoint.o' failed
make: *** [fastjet/ClusterAlgoCDFMidpoint.o] Error 1
make: *** Waiting for unfinished jobs....
fastjet/ClusterAlgoCDFJetClu.cpp:31:10: fatal error: fastjet/CDFJetCluPlugin.hh: No such file or directory
 #include <fastjet/CDFJetCluPlugin.hh>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile_fastjet:89: recipe for target 'fastjet/ClusterAlgoCDFJetClu.o' failed
make: *** [fastjet/ClusterAlgoCDFJetClu.o] Error 1
fastjet/ClusterAlgoGridJet.cpp:31:10: fatal error: fastjet/GridJetPlugin.hh: No such file or directory
 #include <fastjet/GridJetPlugin.hh>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile_fastjet:89: recipe for target 'fastjet/ClusterAlgoGridJet.o' failed
make: *** [fastjet/ClusterAlgoGridJet.o] Error 1
fastjet/ClusterAlgoSISCone.cpp:31:10: fatal error: fastjet/SISConePlugin.hh: No such file or directory
 #include <fastjet/SISConePlugin.hh>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile_fastjet:89: recipe for target 'fastjet/ClusterAlgoSISCone.o' failed
make: *** [fastjet/ClusterAlgoSISCone.o] Error 1
<--
I tried the installation with --no_MA5_further_install --no_root_in_MA5 but it renders the same exact problem. I tried reinstalling madanalysis manually and outside of madgraph but I still get the same problem. I therefore suspect it might has to do with my computer but I can't figure it out.

Your help is appreciated, thanks!

Best,
Hesham

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
Best Benjamin Fuks (fuks) said :
#1

Hi,

It seems you may have several versions of fastjet on your computer, which causes the code to crash. An easy option is to veto fastjet in the installation_options and reinstall it from the MA5 interpreter

Cheers,

Benjamin

Revision history for this message
Hesham El Faham (helfaham) said :
#2

Thanks Benjamin Fuks, that solved my question.