MadAnalysis5 installation fails: "Option '--with_delphes3' not reckognized"

Bug #1640211 reported by David Englert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Valentin Hirschi

Bug Description

Dear MadGraph developers,

hile trying to install MadAnalysis5 this is what I get:

MG5_aMC>install MadAnalysis
   You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V72.tar.gz
Now installing madanalysis5. Be patient...
Option '--with_delphes3' not reckognized.
Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
Command "install MadAnalysis" 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.
MG5_aMC>install MadAnalysis --no_MA5_further_install --no_root_in_MA5
   You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V72.tar.gz
Now installing madanalysis5. Be patient...
Option '--with_delphes3' not reckognized.
Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
Command "install MadAnalysis --no_MA5_further_install --no_root_in_MA5" 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.

### Contents of MG5_Debug ###
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
install MadAnalysis --no_MA5_further_install --no_root_in_MA5
Traceback (most recent call last):
  File "/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/madgraph/interface/extended_cmd.py", line 1412, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/madgraph/interface/extended_cmd.py", line 1367, in onecmd_orig
    return func(arg, **opt)
  File "/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/madgraph/interface/master_interface.py", line 461, in do_install
    self.cmd.do_install(self, *args, **opts)
  File "/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/madgraph/interface/madgraph_interface.py", line 5764, in do_install
    additional_options = add_options)
  File "/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/madgraph/interface/madgraph_interface.py", line 5542, in advanced_install
    raise self.InvalidCmd("Installation of %s failed."%tool_to_install)
InvalidCmd: Installation of madanalysis5 failed.
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
               stdout_level : 10 (user set)

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : ./HEPTools/lib
               cpp_compiler : None
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : None (user set)
                  hwpp_path : None (user set)
                     lhapdf : /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/lhapdf6/bin/lhapdf-config (user set)
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : ./HEPTools/lib
        output_dependencies : external
                      pjfry : None (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/pythia8 (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

Any ideas what goes wrong?

Best,
David Englert

Changed in mg5amcnlo:
assignee: nobody → Valentin Hirschi (valentin-hirschi)
Revision history for this message
Valentin Hirschi (valentin-hirschi) wrote :

There was indeed an issue (two actuallY) in our remove HEPTools installer.
I have fixed it and it should work now.

So please, try again and let me know. Make sure that MG5aMC is having you download the tarball

HEPToolsInstaller_V74.tar.gz

right after it says: Downloading the HEPToolInstaller at:

Revision history for this message
David Englert (ganzilion) wrote :
Download full text (8.3 KiB)

Unfortunately the MadAnalysis5 installation process still crashes. HEPToolsInstaller is downloaded from the remote repo.

Below you can find the various output and I also attached the full version of 'madanalysis5_install.log'.

Best,
David

#####################################################################
### This the very end of what I get from madanalysis5_install.log ###
#####################################################################

MA5: **********************************************************
MA5: Component 5/11 - test program: interface to zlib
MA5: - Cleaning the project before building the test program ...
MA5-DEBUG: LogFile: /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/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-ERROR: impossible to link the project. For more details, see the log file:
MA5-ERROR: /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log
MA5-ERROR: The test program 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 MadAnalysis" 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.

###################################################
Contents of MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log
###################################################

g++ Zlib/Test.o -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lzlib_for_ma5 -lcommons_for_ma5 -o ../Bin/TestZlib
/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib/libzlib_for_ma5.so: undefined reference to `gzoffset@ZLIB_1.2.3.5'
collect2: error: ld returned 1 exit status
make: *** [link] Error 1
~
### --- End of Contents --- ###

#### --- MG5_debug --- ###

 madanalysis5_install.log linking_zlib.log MG5_debug X
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * ...

Read more...

Revision history for this message
Valentin Hirschi (valentin-hirschi) wrote :

Given that you earlier problem disappears, I imagine that MG5aMC correctly used the latest version of the HEPToolsInstaller that I have fixed, namely V74. Please let me know if it were not to be the case.

The issue doesn't seem related to MG5aMC anymore, but rather directly a problem of MadAnalysis5 in your setup.
What I can suggest is that you run:

MG5_aMC> install zlib

in MG5aMC before trying again to install MadAnalysis5. If it fails again in the same manner, then let me know and I'll assign this issue to Benjamin Fuchs who is one of the author of MadAnalysis5.

Revision history for this message
David Englert (ganzilion) wrote :
Download full text (7.6 KiB)

Valentin,

I've tried and I am successful installing 'zlib' only. However when trying to install MadAnalysis, it still fails with the same error.

Cheers,
David

g++ Zlib/Test.o -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lzlib_for_ma5 -lcommons_for_ma5 -o ../Bin/TestZlib
/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib/libzlib_for_ma5.so: undefined reference to `gzoffset@ZLIB_1.2.3.5'
collect2: error: ld returned 1 exit status
make: *** [link] Error 1

###############################################
### --- End part of the stdout messages --- ###
###############################################

MA5: **********************************************************
MA5: Component 5/11 - test program: interface to zlib
MA5: - Cleaning the project before building the test program ...
MA5-DEBUG: LogFile: /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/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-ERROR: impossible to link the project. For more details, see the log file:
MA5-ERROR: /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log
MA5-ERROR: The test program 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 MadAnalysis" 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.
MG5_aMC>

############################
### ---- MG5_debug ---- ####
############################

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.5.1 2016-11-04 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* ...

Read more...

Changed in mg5amcnlo:
assignee: Valentin Hirschi (valentin-hirschi) → Benjamin Fuks (fuks)
Revision history for this message
Benjamin Fuks (fuks) wrote :

Hi David,

Could you please indicate me the content of the file:
 /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log

Cheers,

Benjamin

Changed in mg5amcnlo:
status: New → Invalid
status: Invalid → New
Revision history for this message
David Englert (ganzilion) wrote :

Hi Benjamin,

It's in one of my earlier posts but I pasted it below again.
Let me also note that I have managed to do a standalone installation of MadAnalysis5 of the most recent version (v1.4) without any problems, so this issue might be more related to trying to install MadAnalysis5 through HEPInstaller than to MadAnalysis itself.

David

############################
### -- Contents of
### -- /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log

g++ Zlib/Test.o -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lzlib_for_ma5 -lcommons_for_ma5 -o ../Bin/TestZlib
/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib/libzlib_for_ma5.so: undefined reference to `gzoffset@ZLIB_1.2.3.5'
collect2: error: ld returned 1 exit status
make: *** [link] Error 1

Revision history for this message
Benjamin Fuks (fuks) wrote : Re: [Bug 1640211] Re: MadAnalysis5 installation fails: "Option '--with_delphes3' not reckognized"
Download full text (8.0 KiB)

Hi David,

It seems that you may have several zlib on your computer and ma5 is messed up. Can you try to start madanalysis5 from
   /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/
and see whether it works?

In addition, it may be good to have a look to the file
   /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis/input/installation_options.dat
and the zlib information.

Regards,

Benjamin

On 09 Nov 2016, at 12:16 , David Englert <email address hidden> wrote:

> Hi Benjamin,
>
> It's in one of my earlier posts but I pasted it below again.
> Let me also note that I have managed to do a standalone installation of MadAnalysis5 of the most recent version (v1.4) without any problems, so this issue might be more related to trying to install MadAnalysis5 through HEPInstaller than to MadAnalysis itself.
>
> David
>
> ############################
> ### -- Contents of
> ### -- /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Test//linking_zlib.log
>
> g++ Zlib/Test.o -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lzlib_for_ma5 -lcommons_for_ma5 -o ../Bin/TestZlib
> /home/de3u14/lib/build/hep/MadGraph/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib/libzlib_for_ma5.so: undefined reference to `gzoffset@ZLIB_1.2.3.5'
> collect2: error: ld returned 1 exit status
> make: *** [link] Error 1
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1640211
>
> Title:
> MadAnalysis5 installation fails: "Option '--with_delphes3' not
> reckognized"
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Dear MadGraph developers,
>
> hile trying to install MadAnalysis5 this is what I get:
>
> MG5_aMC>install MadAnalysis
> You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V72.tar.gz
> Now installing madanalysis5. Be patient...
> Option '--with_delphes3' not reckognized.
> Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
> Command "install MadAnalysis" 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.
> MG5_aMC>install MadAnalysis --no_MA5_further_install --no_root_in_MA5
> You are installing 'MadAnalysis', please cite ref(s): arXiv:1206.1599.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V72.tar.gz
> Now installing madanalysis5. Be patient...
> Option '--with_delphes3' not reckognized.
> Default installation of Mada...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

I assign this to Valentin,
since I guess that this is because he is searching for libz.a in $PATH.
This is a kind of smart move on Mac, but it needs to be done in checking that you also have the include file.

Olivier

Changed in mg5amcnlo:
assignee: Benjamin Fuks (fuks) → Valentin Hirschi (valentin-hirschi)
Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.