Error running Madgraph, "Error detected in generate_events"

Asked by Jacob Chesslo on 2020-08-06

With running a script to produce events on lxplus, this error occurs within MadGraph:

survey run_01
INFO: compile directory
Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support!
compile Source Directory
Error: no DISPLAY environment variable specified
Error detected in "generate_events "
write debug file /afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/run_01_tag_2_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
     cd PDF; make
     cd MODEL; make
     make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/MODEL'
     make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/PDF'
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
     ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     ar cru ../lib/libgeneric.a alfas_functions.o transpole.o invarients.o hfill.o pawgraphs.o ran1.o rw_events.o rw_routines.o kin_functions.o open_file.o basecode.o setrun.o run_printout.o dgauss.o readgrid.o getissud.o
     ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
     ar: ../../lib/libmodel.a: Malformed archive
     make[1]: *** [../../lib/libmodel.a] Error 1
     make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/MODEL'
     make: *** [../lib/libmodel.a] Error 2
     make: *** Waiting for unfinished jobs....
     ranlib ../../lib/libpdf.a
     make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/PDF'
     ranlib ../lib/libgeneric.a

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
quit

The Debug file::

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.7.2 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
generate_events
Traceback (most recent call last):
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    return func(arg, **opt)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    self.run_generate_events(switch_mode, args)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    original_fct(obj, *args, **opts)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    postcmd=False)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    return func(arg, **opt)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    self.configure_directory()
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    self.compile(arg=[name], cwd=os.path.join(self.me_dir, 'Source'))
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    return misc.compile(nb_core=self.options['nb_core'], *args, **opts)
  File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
    raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /afs/cern.ch/user/j/jchesslo/MadGr$
The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
    cd PDF; make
    cd MODEL; make
    make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_$
    make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_$
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
   ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDri$
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
    ar cru ../lib/libgeneric.a alfas_functions.o transpole.o invarients.o hfill.o pawgraphs.o ran1$
    ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o coup$
    ar: ../../lib/libmodel.a: Malformed archive
    make[1]: *** [../../lib/libmodel.a] Error 1
    make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_Z$
    make: *** [../lib/libmodel.a] Error 2
    make: *** Waiting for unfinished jobs....
    ranlib ../../lib/libpdf.a
    make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_Z$
    ranlib ../lib/libgeneric.a

Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : None
                    nb_core : 10 (user set)
               cluster_time : None
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : None (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : lhapdf-config
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2020-08-06
Last reply:
2020-08-06

What is the model that you are using?
Is this happening with another model?

Which version of gfortran are you using? which version of "ar" are you using?

Cheers,

Olivier

> On 6 Aug 2020, at 18:30, Jacob Chesslo <email address hidden> wrote:
>
> New question #692248 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/692248
>
> With running a script to produce events on lxplus, this error occurs within MadGraph:
>
> survey run_01
> INFO: compile directory
> Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
> Running without a11y support!
> compile Source Directory
> Error: no DISPLAY environment variable specified
> Error detected in "generate_events "
> write debug file /afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/run_01_tag_2_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> MadGraph5Error : A compilation Error occurs when trying to compile /afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
> cd PDF; make
> cd MODEL; make
> make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/MODEL'
> make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/PDF'
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDriver.o
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
> ar cru ../lib/libgeneric.a alfas_functions.o transpole.o invarients.o hfill.o pawgraphs.o ran1.o rw_events.o rw_routines.o kin_functions.o open_file.o basecode.o setrun.o run_printout.o dgauss.o readgrid.o getissud.o
> ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
> ar: ../../lib/libmodel.a: Malformed archive
> make[1]: *** [../../lib/libmodel.a] Error 1
> make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/MODEL'
> make: *** [../lib/libmodel.a] Error 2
> make: *** Waiting for unfinished jobs....
> ranlib ../../lib/libpdf.a
> make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/Source/PDF'
> ranlib ../lib/libgeneric.a
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
> quit
>
>
>
>
>
> The Debug file::
>
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.7.2 20xx-xx-xx *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadEvent *
> #* *
> #* run as ./bin/madevent.py filename *
> #* *
> #************************************************************
> generate_events
> Traceback (most recent call last):
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> return self.onecmd_orig(line, **opt)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> return func(arg, **opt)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> self.run_generate_events(switch_mode, args)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> original_fct(obj, *args, **opts)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> postcmd=False)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> return func(arg, **opt)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> self.configure_directory()
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> self.compile(arg=[name], cwd=os.path.join(self.me_dir, 'Source'))
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> return misc.compile(nb_core=self.options['nb_core'], *args, **opts)
> File "/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_ZDM80toM700-pythia8/bin/i$
> raise MadGraph5Error, error_text
> MadGraph5Error: A compilation Error occurs when trying to compile /afs/cern.ch/user/j/jchesslo/MadGr$
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o setrun.o setrun.f
> cd PDF; make
> cd MODEL; make
> make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_$
> make[1]: Entering directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_$
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
> ar cru ../../lib/libpdf.a Ctq6Pdf.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o NNPDFDri$
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
> ar cru ../lib/libgeneric.a alfas_functions.o transpole.o invarients.o hfill.o pawgraphs.o ran1$
> ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o coup$
> ar: ../../lib/libmodel.a: Malformed archive
> make[1]: *** [../../lib/libmodel.a] Error 1
> make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_Z$
> make: *** [../lib/libmodel.a] Error 2
> make: *** Waiting for unfinished jobs....
> ranlib ../../lib/libpdf.a
> make[1]: Leaving directory `/afs/cern.ch/user/j/jchesslo/MadGraph5/MG5_aMC_v2_7_2/bin/bin/ZDfD_Z$
> ranlib ../lib/libgeneric.a
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
> Run Options
> -----------
> stdout_level : None
>
> MadEvent Options
> ----------------
> automatic_html_opening : False (user set)
> notification_center : True
> cluster_temp_path : None
> cluster_memory : None
> cluster_size : 100
> cluster_queue : None
> nb_core : 10 (user set)
> cluster_time : None
> run_mode : 2
>
> Configuration Options
> ---------------------
> text_editor : None
> cluster_local_path : None
> cluster_status_update : (600, 30)
> pythia8_path : None (user set)
> hwpp_path : None (user set)
> pythia-pgs_path : None (user set)
> td_path : None (user set)
> delphes_path : None (user set)
> thepeg_path : None (user set)
> cluster_type : condor
> madanalysis5_path : None (user set)
> cluster_nb_retry : 1
> eps_viewer : None
> web_browser : None
> syscalc_path : None (user set)
> madanalysis_path : None (user set)
> lhapdf : lhapdf-config
> f2py_compiler : None
> hepmc_path : None (user set)
> cluster_retry_wait : 300
> fortran_compiler : None
> auto_update : 7 (user set)
> exrootanalysis_path : None (user set)
> timeout : 60
> cpp_compiler : None
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

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

To post a message you must log in.