error in generating events

Asked by Teng Long

I have already generated the process "e- e+ > alp a" and when I try to launch it, this error happened

>
INFO: Update the dependent parameter of the param_card.dat
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
compile Source Directory
Error detected in "generate_events run_01"
write debug file /home/long/Documents/MG5_aMC_v3_5_3/signal1/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : Impossible to compile /home/long/Documents/MG5_aMC_v3_5_3/signal1/Source directory
 Trying to launch make command returns:
     [Errno 2] No such file or directory: 'make'
 In general this means that your computer is not able to compile.
quit
INFO:
MG5_aMC>Gtk-Message: 15:55:03.294: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
MG5_aMC>writting history and quit on KeyboardInterrupt
long@long-virtual-machine:~/Documents/MG5_aMC_v3_5_3$

below is the debug.log

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.5.3 2023-12-23 *
#* *
#* 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 run_01
Traceback (most recent call last):
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/various/misc.py", line 532, in compile
    p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'make'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/extended_cmd.py", line 1546, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/extended_cmd.py", line 1495, in onecmd_orig
    return func(arg, **opt)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/madevent_interface.py", line 2403, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/common_run_interface.py", line 7701, in new_fct
    original_fct(obj, *args, **opts)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/madevent_interface.py", line 2597, in run_generate_events
    self.exec_cmd('survey %s %s' % (self.run_name,' '.join(args)),
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/extended_cmd.py", line 1575, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/extended_cmd.py", line 1495, in onecmd_orig
    return func(arg, **opt)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/madevent_interface.py", line 3420, in do_survey
    self.configure_directory()
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/madevent_interface.py", line 5904, in configure_directory
    self.compile(arg=[name], cwd=os.path.join(self.me_dir, 'Source'))
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/interface/extended_cmd.py", line 1641, in compile
    return misc.compile(nb_core=self.options['nb_core'], *args, **opts)
  File "/home/long/Documents/MG5_aMC_v3_5_3/madgraph/various/misc.py", line 546, in compile
    raise MadGraph5Error(error_text)
madgraph.MadGraph5Error: Impossible to compile /home/long/Documents/MG5_aMC_v3_5_3/signal1/Source directory
Trying to launch make command returns:
    [Errno 2] No such file or directory: 'make'
In general this means that your computer is not able to compile.
                              Run Options
                              -----------
               stdout_level : 20 (user set)

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

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

What should I do to fix it? Thank you so much for your time!

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

I guess that you do no have gnumake (or similar) install on your laptop. Can you install it?

Revision history for this message
Teng Long (long2003) said :
#2

That's exactly what I need! The problem was solved immediately after I installed gnu make. Thank you so much! I wish you a great Christmas.

Revision history for this message
Teng Long (long2003) said :
#3

Thanks Olivier Mattelaer, that solved my question.