problem installing MadAnalysis5

Asked by Soumyadip Barman

Hello,

I am trying to install MadAanalysis5 in the Madgraph command prompt on my desktop using the command "install MadAnalysis5". I am using Madgraph VERSION 2.6.7 But it repeatedly failing with the same message. This is the message I am getting every time and its keep repeating if I don't use the "exit" command, it just keeps going like the following message -

MA5: - Cleaning the project before building the test program ...
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//mrproper_zlib.log
MA5-DEBUG: Makefile: Makefile_zlib
MA5-DEBUG: Command: make mrproper --file=Makefile_zlib
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5-DEBUG: Command: ./TestZlib
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestZlib.log
MA5: - Checking the program output...
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestZlib.log
MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
MA5-DEBUG: Analyzing output file: OK -> End Stamp
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 6/11 - library: interface to FastJet
MA5: - Cleaning the project before building the library ...
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/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/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
MA5-ERROR: The library building aborted.

Default installation of Madanalys5 failed.
MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
This will however limit MA5 applicability for hadron-level analysis.
If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
--2020-07-03 23:03:27-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109
Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
HTTP request sent, awaiting response... 200 Ok
Length: 790599 (772K) [application/x-tar]
Saving to: ‘ma5_latest.tgz’

ma5_latest.tgz 100%[=================================================================================================>] 772.07K 77.5KB/s in 12s

2020-07-03 23:03:41 (67.0 KB/s) - ‘ma5_latest.tgz’ saved [790599/790599]

So, can you please suggest something on this matter?

Thanks,
Soumyadip

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Soumyadip Barman
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Is it still the case with 2.7.3?

Cheers,

Olivier

> On 3 Jul 2020, at 19:45, Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/691670
>
> Description changed to:
> Hello,
>
> I am trying to install MadAanalysis5 in the Madgraph command prompt on
> my desktop using the command "install MadAnalysis5". I am using Madgraph
> VERSION 2.6.7 But it repeatedly failing with the same message. This is
> the message I am getting every time and its keep repeating if I don't
> use the "exit" command, it just keeps going like the following message
> -
>
> MA5: - Cleaning the project before building the test program ...
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//mrproper_zlib.log
> MA5-DEBUG: Makefile: Makefile_zlib
> MA5-DEBUG: Command: make mrproper --file=Makefile_zlib
> MA5: - Compiling the source files ...
> MA5: - Linking the test program ...
> MA5: - Checking that the test program is properly built ...
> MA5: - Cleaning the project after building the test program ...
> MA5: - Running the test program ...
> MA5-DEBUG: Command: ./TestZlib
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestZlib.log
> MA5: - Checking the program output...
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestZlib.log
> MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
> MA5-DEBUG: Analyzing output file: OK -> End Stamp
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 6/11 - library: interface to FastJet
> MA5: - Cleaning the project before building the library ...
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/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/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
> MA5-ERROR: The library building aborted.
>
> Default installation of Madanalys5 failed.
> MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
> This will however limit MA5 applicability for hadron-level analysis.
> If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
> --2020-07-03 23:03:27-- http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> Resolving madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)... 130.104.48.109
> Connecting to madanalysis.irmp.ucl.ac.be (madanalysis.irmp.ucl.ac.be)|130.104.48.109|:80... connected.
> HTTP request sent, awaiting response... 200 Ok
> Length: 790599 (772K) [application/x-tar]
> Saving to: ‘ma5_latest.tgz’
>
> ma5_latest.tgz
> 100%[=================================================================================================>]
> 772.07K 77.5KB/s in 12s
>
> 2020-07-03 23:03:41 (67.0 KB/s) - ‘ma5_latest.tgz’ saved [790599/790599]
>
>
> So, can you please suggest something on this matter?
>
> Thanks,
> Soumyadip
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#2

Yes, it is still there for 2.7.3

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

I will forward that to MA5 team.
Could you put here the content of
 /home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log

Cheers,

Olivier

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#4

g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFMidpoint.o -c fastjet/ClusterAlgoCDFMidpoint.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoStandard.o -c fastjet/ClusterAlgoStandard.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFJetClu.o -c fastjet/ClusterAlgoCDFJetClu.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/DJRextractor.o -c fastjet/DJRextractor.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoGridJet.o -c fastjet/ClusterAlgoGridJet.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoSISCone.o -c fastjet/ClusterAlgoSISCone.cpp
g++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madgraph/MG5_aMC_v2_6_7/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.
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
Makefile_fastjet:89: recipe for target 'fastjet/ClusterAlgoCDFJetClu.o' failed
make: *** [fastjet/ClusterAlgoCDFJetClu.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

Revision history for this message
Benjamin Fuks (fuks) said :
#5

Hi,

Do you have several installations of fastjet on your system. Usually, this error is issued when a different and older fastjet installation is found on the system.

Regards,

Benjamin

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#6

Hi,

I have installed only one version of fastjet on my system.

Revision history for this message
Benjamin Fuks (fuks) said :
#7

Then I don't understand the issue. Can you please try to start MA5 on its own (outside madgrapmg5_aMC)?

Cheers,

Benjamin

> On 7 Jul 2020, at 14:35 , Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691670
>
> Status: Answered => Open
>
> Soumyadip Barman is still having a problem:
> Hi,
>
> I have installed only one version of fastjet on my system.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#8

Yes, I have tried doing that as well. The problem still persists with it as well

Revision history for this message
Benjamin Fuks (fuks) said :
#9

Can you please run in debug mode (-d)?

Cheers,

B>

> On 7 Jul 2020, at 14:45 , Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691670
>
> Status: Answered => Open
>
> Soumyadip Barman is still having a problem:
> Yes, I have tried doing that as well. The problem still persists with it
> as well
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#10

What command do I need to use?

Revision history for this message
Benjamin Fuks (fuks) said :
#11

./bin/ma5 -d

Cheers,

B>

> On 7 Jul 2020, at 15:05 , Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691670
>
> Status: Answered => Open
>
> Soumyadip Barman is still having a problem:
> What command do I need to use?
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#12

The output -

MA5: - Running the test program ...
MA5-DEBUG: Command: ./TestCommons
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Bin/TestCommons.log
MA5: - Checking the program output...
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Bin/TestCommons.log
MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
MA5-DEBUG: Analyzing output file: OK -> End Stamp
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 4/9 - library: interface to FastJet
MA5: - Cleaning the project before building the library ...
MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/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/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
MA5-ERROR: The library building aborted.

******************************************************************output of log file************************

c++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madanalysis/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFMidpoint.o -c fastjet/ClusterAlgoCDFMidpoint.cpp
c++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madanalysis/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoStandard.o -c fastjet/ClusterAlgoStandard.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....
~

Revision history for this message
Benjamin Fuks (fuks) said :
#13

Do you have 2 fastjet installations on your system?

> On 9 Jul 2020, at 09:55 , Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691670
>
> Status: Answered => Open
>
> Soumyadip Barman is still having a problem:
> The output -
>
> MA5: - Running the test program ...
> MA5-DEBUG: Command: ./TestCommons
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Bin/TestCommons.log
> MA5: - Checking the program output...
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Bin/TestCommons.log
> MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
> MA5-DEBUG: Analyzing output file: OK -> End Stamp
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 4/9 - library: interface to FastJet
> MA5: - Cleaning the project before building the library ...
> MA5-DEBUG: LogFile: /home/soumyadip/Package/Madanalysis/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/soumyadip/Package/Madanalysis/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
> MA5-ERROR: The library building aborted.
>
>
> ******************************************************************output of log file************************
>
> c++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madanalysis/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoCDFMidpoint.o -c fastjet/ClusterAlgoCDFMidpoint.cpp
> c++ -Wall -O3 -fPIC -I/home/soumyadip/Package/Madanalysis/madanalysis5/tools/ -I/usr/include -o fastjet/ClusterAlgoStandard.o -c fastjet/ClusterAlgoStandard.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....
> ~
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#14

No. I have only one fastjet installed in my system and it is plugin with pythia and it works fine for them.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#15

I think there is a case that, my previously installed fastjet is interfering with madanalysis5 fastjet. Is there this kind of situation may happen ?

Revision history for this message
Benjamin Fuks (fuks) said :
#16

Hi,

Can you please
1) veto fastjet in madanalysis/input/installation_options.dat
2) start the code and "install fastjet"
3) restart the code and see whether it is fine.

I do not understand the problem and can't reproduce it… This makes it hard to propose anything really concrete at this stage.

Regards,

Benjamin

> On 9 Jul 2020, at 10:05 , Soumyadip Barman <email address hidden> wrote:
>
> Question #691670 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691670
>
> Status: Answered => Open
>
> Soumyadip Barman is still having a problem:
> No. I have only one fastjet installed in my system and it is plugin with
> pythia and it works fine for them.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Soumyadip Barman (soumyadipbarman) said :
#17

Hi,

After lots of web searching, I found out that I was facing problem due to a package called "libfastjet-dev". I don't know how i have installed it. Anyways, now standalone madanalysis5 and madanalysis5 in madgraph interface is installed successfully. Thanks for your suggestions.

Thanks,
Soumyadip