launch bug

Asked by pattara angkinun on 2018-11-27

When I launch my file I got this massage:

Error detected in "generate_events run_01"
write debug file /home/pattara/MG5_aMC_v2_6_4/test1/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : Impossible to compile /home/pattara/MG5_aMC_v2_6_4/test1/Source directory
 Trying to launch make command returns:
     [Errno 2] No such file or directory
 In general this means that your computer is not able to compile.

I am using Ubuntu on virtual machine, I don't know if this is a problem.
The following is my debug file:

generate_events run_01
Traceback (most recent call last):
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1501, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
    return func(arg, **opt)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/common_run_interface.py", line 6801, in new_fct
    original_fct(obj, *args, **opts)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 2508, in run_generate_events
    postcmd=False)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1528, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
    return func(arg, **opt)
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 3277, in do_survey
    self.configure_directory()
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 5549, in configure_directory
    misc.compile(['clean4pdf'], cwd = pjoin(self.me_dir, 'Source'))
  File "/home/pattara/MG5_aMC_v2_6_4/madgraph/various/misc.py", line 487, in compile
    raise MadGraph5Error, error_text
MadGraph5Error: Impossible to compile /home/pattara/MG5_aMC_v2_6_4/test1/Source directory
Trying to launch make command returns:
    [Errno 2] No such file or directory
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
          cluster_temp_path : None
             cluster_memory : None (user set)
               cluster_size : 100
              cluster_queue : None (user set)
                    nb_core : 1 (user set)
               cluster_time : 1 (user set)
                   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

Best regards.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2018-11-27
Last query:
2018-11-27
Last reply:
2018-11-27

Hi,

It's likely that you are missing gmake on your virtual machine.
Can you check?

I would suggest to run the following commands:

apt-get -y install python2.7 gcc gfortran g++ make python-pip wget gnuplot bc cmake
pip install numpy scipy
# PY8 specific
apt-get -y install rsync
# MA5 specific
apt-get -y install texlive-latex-base rlwrap latex-xcolor python-tk
pip install matplotlib

I used those to build a singularity containter based on ubuntu so this should be a quite complete list of package that you need to have.

Cheers,

Olivier

> On 27 Nov 2018, at 14:21, pattara angkinun <email address hidden> wrote:
>
> New question #676392 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/676392
>
> When I launch my file I got this massage:
>
> Error detected in "generate_events run_01"
> write debug file /home/pattara/MG5_aMC_v2_6_4/test1/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> MadGraph5Error : Impossible to compile /home/pattara/MG5_aMC_v2_6_4/test1/Source directory
> Trying to launch make command returns:
> [Errno 2] No such file or directory
> In general this means that your computer is not able to compile.
>
> I am using Ubuntu on virtual machine, I don't know if this is a problem.
> The following is my debug file:
>
> generate_events run_01
> Traceback (most recent call last):
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1501, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
> return func(arg, **opt)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 2469, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/common_run_interface.py", line 6801, in new_fct
> original_fct(obj, *args, **opts)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 2508, in run_generate_events
> postcmd=False)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1528, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/extended_cmd.py", line 1450, in onecmd_orig
> return func(arg, **opt)
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 3277, in do_survey
> self.configure_directory()
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/interface/madevent_interface.py", line 5549, in configure_directory
> misc.compile(['clean4pdf'], cwd = pjoin(self.me_dir, 'Source'))
> File "/home/pattara/MG5_aMC_v2_6_4/madgraph/various/misc.py", line 487, in compile
> raise MadGraph5Error, error_text
> MadGraph5Error: Impossible to compile /home/pattara/MG5_aMC_v2_6_4/test1/Source directory
> Trying to launch make command returns:
> [Errno 2] No such file or directory
> 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
> cluster_temp_path : None
> cluster_memory : None (user set)
> cluster_size : 100
> cluster_queue : None (user set)
> nb_core : 1 (user set)
> cluster_time : 1 (user set)
> 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
>
> Best regards.
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Thanks Olivier Mattelaer, that solved my question.