madspin not working (compile issue?)

Asked by Sihyun Jeon on 2017-09-13

Hi, I had a problem with MadGraph5 & MadSpin so I am asking for help.

Our group is working on heavy neutrinos and I am trying to generate heavy neutrino samples with dilepton and dijet

generate p p > n1 e+ [QCD]
is done in madgraph5 and

decay n1 > e+ j j
is done in madspin, so in this case I wanted to get 2 samesign electrons with 2 jets.

Here I also did "set spinmode onshell"

gfortran and gcc versions are both 5.3.0.
python version is 2.7.11.

Thank you in advance,
Sihyun Jeon

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch auto
Traceback (most recent call last):
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1438, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/amcatnlo_run_interface.py", line 1243, in do_launch
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py", line 3463, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1580, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 99, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 538, in do_launch
    return self.run_onshell(line)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 1236, in run_onshell
    self.options)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2061, in __init__
    self.compile()
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 4295, in compile
    nb_core=self.mgcmd.options['nb_core'])
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 479, in compile
    raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
The compilation fails with the following output message:
    cd P4_gux_n1emdx_n1_epdux;make matrix2py.so
    cd P4_uxd_n1emg_n1_epdux;make matrix2py.so
    cd P1_uxd_n1em;make matrix2py.so
    cd P2_gd_n1emu;make matrix2py.so
    cd P1_dux_n1em;make matrix2py.so
    cd P0_n1_epdux;make matrix2py.so
    cd P4_dux_n1emg_n1_epdux;make matrix2py.so
    cd P2_gux_n1emdx;make matrix2py.so
    cd P3_dux_n1em_n1_epdux;make matrix2py.so
    cd P3_uxd_n1em_n1_epdux;make matrix2py.so
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gd_n1emu'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gux_n1emdx_n1_epdux'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_uxd_n1emg_n1_epdux'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_uxd_n1em'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gux_n1emdx'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_uxd_n1em_n1_epdux'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dux_n1emg_n1_epdux'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dux_n1em'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_dux_n1em_n1_epdux'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gd_n1emu'
    makefile:13: recipe for target 'P2_gd_n1emu/matrix2py.so' failed
    make: *** [P2_gd_n1emu/matrix2py.so] Error 2
    make: *** Waiting for unfinished jobs....
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_uxd_n1em_n1_epdux'
    makefile:25: recipe for target 'P3_uxd_n1em_n1_epdux/matrix2py.so' failed
    make: *** [P3_uxd_n1em_n1_epdux/matrix2py.so] Error 2
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_uxd_n1em'
    makefile:11: recipe for target 'P1_uxd_n1em/matrix2py.so' failed
    make: *** [P1_uxd_n1em/matrix2py.so] Error 2
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gux_n1emdx'
    makefile:21: recipe for target 'P2_gux_n1emdx/matrix2py.so' failed
    make: *** [P2_gux_n1emdx/matrix2py.so] Error 2
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_dux_n1em_n1_epdux'
    makefile:23: recipe for target 'P3_dux_n1em_n1_epdux/matrix2py.so' failed
    make: *** [P3_dux_n1em_n1_epdux/matrix2py.so] Error 2
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dux_n1emg_n1_epdux'
    makefile:19: recipe for target 'P4_dux_n1emg_n1_epdux/matrix2py.so' failed
    make: *** [P4_dux_n1emg_n1_epdux/matrix2py.so] Error 2
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gux_n1emdx_n1_epdux'
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
    makefile:7: recipe for target 'P4_gux_n1emdx_n1_epdux/matrix2py.so' failed
    make: *** [P4_gux_n1emdx_n1_epdux/matrix2py.so] Error 2
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dux_n1em'
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:15: recipe for target 'P1_dux_n1em/matrix2py.so' failed
    make: *** [P1_dux_n1em/matrix2py.so] Error 2
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
    makefile:17: recipe for target 'P0_n1_epdux/matrix2py.so' failed
    make: *** [P0_n1_epdux/matrix2py.so] Error 2
    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 1
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_uxd_n1emg_n1_epdux'
    makefile:9: recipe for target 'P4_uxd_n1emg_n1_epdux/matrix2py.so' failed
    make: *** [P4_uxd_n1emg_n1_epdux/matrix2py.so] Error 2

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
Value of current Options:
              text_editor : vi
      notification_center : True
                    pjfry : None
       cluster_local_path : None
       group_subprocesses : Auto
ignore_six_quark_processes : False
    loop_optimized_output : True
    cluster_status_update : (600, 30)
         fortran_compiler : None
               hepmc_path : None
                  collier : None
              auto_update : 7
             pythia8_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/pythia8
                hwpp_path : None
low_mem_multicore_nlo_generation : False
                    golem : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/Delphes
              thepeg_path : None
             cluster_type : condor
        madanalysis5_path : None
      exrootanalysis_path : None
                      OLP : MadLoop
                 applgrid : applgrid-config
               eps_viewer : None
                  fastjet : None
                 run_mode : 2
              web_browser : None
   automatic_html_opening : False
        cluster_temp_path : None
             cluster_size : 100
            cluster_queue : None
             syscalc_path : None
         madanalysis_path : None
                   lhapdf : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config
             stdout_level : 20
                  nb_core : 10
            f2py_compiler : None
                    ninja : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lib
                  amcfast : amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
           crash_on_error : False
mg5amc_py8_interface_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
         loop_color_flows : False
                  samurai : None
         cluster_nb_retry : 1
                 mg5_path : /data7/Users/shjeon/MG5_aMC_v2_6_0
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
   max_npoint_for_channel : 0
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
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~
import model /data7/Users/shjeon/MG5_aMC_v2_6_0/models/SM_HeavyN_NLO
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
generate p p > n1 e- [QCD]
output TEST
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR LOOP
###################################
Block loop
    1 9.118800e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
    6 1.733000e+02 # MT
   23 9.118760e+01 # MZ
   25 1.257000e+02 # MH
  9900012 40 # mN1
  9900014 5.000000e+02 # mN2
  9900016 1.000000e+03 # mN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  5 0.000000 # b : 0.0
  11 0.000000 # e- : 0.0
  12 0.000000 # ve : 0.0
  13 0.000000 # mu- : 0.0
  14 0.000000 # vm : 0.0
  15 0.000000 # ta- : 0.0
  16 0.000000 # vt : 0.0
  21 0.000000 # g : 0.0
  22 0.000000 # a : 0.0
  24 79.951230 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))
  9000002 91.187600 # ghz : MZ
  9000003 79.951230 # ghwp : MW
  9000004 79.951230 # ghwm : MW

###################################
## INFORMATION FOR NUMIXING
###################################
Block numixing
    1 1.000000e+00 # VeN1
    2 0.000000e+00 # VeN2
    3 0.000000e+00 # VeN3
    4 0.000000e+00 # VmuN1
    5 1.000000e+00 # VmuN2
    6 0.000000e+00 # VmuN3
    7 0.000000e+00 # VtaN1
    8 0.000000e+00 # VtaN2
    9 1.000000e+00 # VtaN3

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.279400e+02 # aEWM1
    2 1.174560e-05 # Gf
    3 1.184000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    6 1.733000e+02 # ymt

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.350000e+00 # WT
DECAY 23 2.495200e+00 # WZ
DECAY 24 2.085000e+00 # WW
DECAY 25 4.170000e-03 # WH
DECAY 9900012 3.030000e-01 # WN1
DECAY 9900014 1.500000e+00 # WN2
DECAY 9900016 1.230000e+01 # WN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
DECAY 9000002 2.495200 # ghz : WZ
DECAY 9000003 2.085000 # ghwp : WW
DECAY 9000004 2.085000 # ghwm : WW
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 9900012 # n1
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9900014 # n2
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9900016 # n3
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
 100 = nevents ! Number of unweighted events requested
 -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
 -1 = nevt_job! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
 average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
 0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
                           ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
 5000 = npoints_FO_grid ! number of points to setup grids
 4 = niters_FO_grid ! number of iter. to setup grids
 10000 = npoints_FO ! number of points to compute Xsec
 6 = niters_FO ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
 0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
 1 = lpp1 ! beam 1 type (0 = no PDF)
 1 = lpp2 ! beam 2 type (0 = no PDF)
 6500.0 = ebeam1 ! beam 1 energy in GeV
 6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
 nn23nlo = pdlabel ! PDF set
 244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
              ! numbers for central PDF sets are allowed. Can be a list;
              ! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  HERWIG6 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.118 = muR_ref_fixed ! fixed ren reference scale
 91.118 = muF_ref_fixed ! fixed fact reference scale
 -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
 1.0 = muR_over_ref ! ratio of current muR over reference muR
 1.0 = muF_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
 True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
 False = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
 False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
 0 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
 15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  0.7 = jetradius ! The radius parameter for the jet algorithm
 10.0 = ptj ! Min jet transverse momentum
 -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  0.0 = ptl ! Min lepton transverse momentum
 -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
 30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
 20.0 = ptgmin ! Min photon transverse momentum
 -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = R0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
 True = isoEM ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2017-09-14
Last query:
2017-09-14
Last reply:
2017-09-14

Hi,

The "onshell" mode is based on the possibility to link fortran code inside python code.
For that you need to have in your path the 'f2py' module.

The easiest way to install f2py is to install numpy. f2py will then be automatically installed.
When numpy is available it is still possible that madspin does not find where the f2py executable is.
In that case, please specify such path in the file input/mg5_configuration.txt

Cheers,

Olivier

> On 13 Sep 2017, at 18:33, Sihyun Jeon <email address hidden> wrote:
>
> Question #657970 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/657970
>
> Summary changed to:
> madspin not working (compile issue?)
>
> Description changed to:
> Hi, I had a problem with MadGraph5 & MadSpin so I am asking for help.
>
> Our group is working on heavy neutrinos and I am trying to generate
> heavy neutrino samples with dilepton and dijet
>
> generate p p > n1 e+ [QCD]
> is done in madgraph5 and
>
> decay n1 > e+ j j
> is done in madspin, so in this case I wanted to get 2 samesign electrons with 2 jets.
>
> Here I also did "set spinmode onshell"
>
> gfortran and gcc versions are both 5.3.0.
> python version is 2.7.11.
>
> Thank you in advance,
> Sihyun Jeon
>
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.0 2017-08-16 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* and *
> #* http://amcatnlo.cern.ch *
> #* *
> #************************************************************
> #* *
> #* Command File for aMCatNLO *
> #* *
> #* run as ./bin/aMCatNLO.py filename *
> #* *
> #************************************************************
> launch auto
> Traceback (most recent call last):
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1438, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/amcatnlo_run_interface.py", line 1243, in do_launch
> self.exec_cmd('decay_events -from_cards', postcmd=False)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py", line 3463, in do_decay_events
> madspin_cmd.import_command_file(path)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1580, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 99, in f_with_no_logger
> out = f(self, *args, **opt)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 538, in do_launch
> return self.run_onshell(line)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 1236, in run_onshell
> self.options)
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2061, in __init__
> self.compile()
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 4295, in compile
> nb_core=self.mgcmd.options['nb_core'])
> File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 479, in compile
> raise MadGraph5Error, error_text
> MadGraph5Error: A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
> The compilation fails with the following output message:
> cd P4_gux_n1emdx_n1_epdux;make matrix2py.so
> cd P4_uxd_n1emg_n1_epdux;make matrix2py.so
> cd P1_uxd_n1em;make matrix2py.so
> cd P2_gd_n1emu;make matrix2py.so
> cd P1_dux_n1em;make matrix2py.so
> cd P0_n1_epdux;make matrix2py.so
> cd P4_dux_n1emg_n1_epdux;make matrix2py.so
> cd P2_gux_n1emdx;make matrix2py.so
> cd P3_dux_n1em_n1_epdux;make matrix2py.so
> cd P3_uxd_n1em_n1_epdux;make matrix2py.so
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gd_n1emu'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gux_n1emdx_n1_epdux'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_uxd_n1emg_n1_epdux'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_uxd_n1em'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gux_n1emdx'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_uxd_n1em_n1_epdux'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dux_n1emg_n1_epdux'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dux_n1em'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_dux_n1em_n1_epdux'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gd_n1emu'
> makefile:13: recipe for target 'P2_gd_n1emu/matrix2py.so' failed
> make: *** [P2_gd_n1emu/matrix2py.so] Error 2
> make: *** Waiting for unfinished jobs....
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_uxd_n1em_n1_epdux'
> makefile:25: recipe for target 'P3_uxd_n1em_n1_epdux/matrix2py.so' failed
> make: *** [P3_uxd_n1em_n1_epdux/matrix2py.so] Error 2
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_uxd_n1em'
> makefile:11: recipe for target 'P1_uxd_n1em/matrix2py.so' failed
> make: *** [P1_uxd_n1em/matrix2py.so] Error 2
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gux_n1emdx'
> makefile:21: recipe for target 'P2_gux_n1emdx/matrix2py.so' failed
> make: *** [P2_gux_n1emdx/matrix2py.so] Error 2
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P3_dux_n1em_n1_epdux'
> makefile:23: recipe for target 'P3_dux_n1em_n1_epdux/matrix2py.so' failed
> make: *** [P3_dux_n1em_n1_epdux/matrix2py.so] Error 2
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dux_n1emg_n1_epdux'
> makefile:19: recipe for target 'P4_dux_n1emg_n1_epdux/matrix2py.so' failed
> make: *** [P4_dux_n1emg_n1_epdux/matrix2py.so] Error 2
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gux_n1emdx_n1_epdux'
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> makefile:7: recipe for target 'P4_gux_n1emdx_n1_epdux/matrix2py.so' failed
> make: *** [P4_gux_n1emdx_n1_epdux/matrix2py.so] Error 2
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dux_n1em'
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:15: recipe for target 'P1_dux_n1em/matrix2py.so' failed
> make: *** [P1_dux_n1em/matrix2py.so] Error 2
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
> makefile:17: recipe for target 'P0_n1_epdux/matrix2py.so' failed
> make: *** [P0_n1_epdux/matrix2py.so] Error 2
> Traceback (most recent call last):
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_25/external/slc6_amd64_gcc530/bin/f2py", line 5, in <module>
> pkg_resources.run_script('numpy==1.11.1', 'f2py')
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
> raise ResolutionError("No script named %r" % script_name)
> pkg_resources.ResolutionError: No script named 'f2py'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 1
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_uxd_n1emg_n1_epdux'
> makefile:9: recipe for target 'P4_uxd_n1emg_n1_epdux/matrix2py.so' failed
> make: *** [P4_uxd_n1emg_n1_epdux/matrix2py.so] Error 2
>
> 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
> Value of current Options:
> text_editor : vi
> notification_center : True
> pjfry : None
> cluster_local_path : None
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_optimized_output : True
> cluster_status_update : (600, 30)
> fortran_compiler : None
> hepmc_path : None
> collier : None
> auto_update : 7
> pythia8_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/pythia8
> hwpp_path : None
> low_mem_multicore_nlo_generation : False
> golem : None
> pythia-pgs_path : None
> td_path : None
> delphes_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/Delphes
> thepeg_path : None
> cluster_type : condor
> madanalysis5_path : None
> exrootanalysis_path : None
> OLP : MadLoop
> applgrid : applgrid-config
> eps_viewer : None
> fastjet : None
> run_mode : 2
> web_browser : None
> automatic_html_opening : False
> cluster_temp_path : None
> cluster_size : 100
> cluster_queue : None
> syscalc_path : None
> madanalysis_path : None
> lhapdf : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config
> stdout_level : 20
> nb_core : 10
> f2py_compiler : None
> ninja : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lib
> amcfast : amcfast-config
> cluster_retry_wait : 300
> output_dependencies : external
> crash_on_error : False
> mg5amc_py8_interface_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
> loop_color_flows : False
> samurai : None
> cluster_nb_retry : 1
> mg5_path : /data7/Users/shjeon/MG5_aMC_v2_6_0
> timeout : 60
> gauge : unitary
> complex_mass_scheme : False
> cpp_compiler : None
> max_npoint_for_channel : 0
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.0 2017-08-16 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #************************************************************
> 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~
> import model /data7/Users/shjeon/MG5_aMC_v2_6_0/models/SM_HeavyN_NLO
> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
> define j = p
> generate p p > n1 e- [QCD]
> output TEST
> ######################################################################
> ## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
> ######################################################################
> ## ##
> ## Width set on Auto will be computed following the information ##
> ## present in the decay.py files of the model. ##
> ## See arXiv:1402.1178 for more details. ##
> ## ##
> ######################################################################
>
> ###################################
> ## INFORMATION FOR LOOP
> ###################################
> Block loop
> 1 9.118800e+01 # MU_R
>
> ###################################
> ## INFORMATION FOR MASS
> ###################################
> Block mass
> 6 1.733000e+02 # MT
> 23 9.118760e+01 # MZ
> 25 1.257000e+02 # MH
> 9900012 40 # mN1
> 9900014 5.000000e+02 # mN2
> 9900016 1.000000e+03 # mN3
> ## Dependent parameters, given by model restrictions.
> ## Those values should be edited following the
> ## analytical expression. MG5 ignores those values
> ## but they are important for interfacing the output of MG5
> ## to external program such as Pythia.
> 1 0.000000 # d : 0.0
> 2 0.000000 # u : 0.0
> 3 0.000000 # s : 0.0
> 4 0.000000 # c : 0.0
> 5 0.000000 # b : 0.0
> 11 0.000000 # e- : 0.0
> 12 0.000000 # ve : 0.0
> 13 0.000000 # mu- : 0.0
> 14 0.000000 # vm : 0.0
> 15 0.000000 # ta- : 0.0
> 16 0.000000 # vt : 0.0
> 21 0.000000 # g : 0.0
> 22 0.000000 # a : 0.0
> 24 79.951230 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))
> 9000002 91.187600 # ghz : MZ
> 9000003 79.951230 # ghwp : MW
> 9000004 79.951230 # ghwm : MW
>
> ###################################
> ## INFORMATION FOR NUMIXING
> ###################################
> Block numixing
> 1 1.000000e+00 # VeN1
> 2 0.000000e+00 # VeN2
> 3 0.000000e+00 # VeN3
> 4 0.000000e+00 # VmuN1
> 5 1.000000e+00 # VmuN2
> 6 0.000000e+00 # VmuN3
> 7 0.000000e+00 # VtaN1
> 8 0.000000e+00 # VtaN2
> 9 1.000000e+00 # VtaN3
>
> ###################################
> ## INFORMATION FOR SMINPUTS
> ###################################
> Block sminputs
> 1 1.279400e+02 # aEWM1
> 2 1.174560e-05 # Gf
> 3 1.184000e-01 # aS
>
> ###################################
> ## INFORMATION FOR YUKAWA
> ###################################
> Block yukawa
> 6 1.733000e+02 # ymt
>
> ###################################
> ## INFORMATION FOR DECAY
> ###################################
> DECAY 6 1.350000e+00 # WT
> DECAY 23 2.495200e+00 # WZ
> DECAY 24 2.085000e+00 # WW
> DECAY 25 4.170000e-03 # WH
> DECAY 9900012 3.030000e-01 # WN1
> DECAY 9900014 1.500000e+00 # WN2
> DECAY 9900016 1.230000e+01 # WN3
> ## Dependent parameters, given by model restrictions.
> ## Those values should be edited following the
> ## analytical expression. MG5 ignores those values
> ## but they are important for interfacing the output of MG5
> ## to external program such as Pythia.
> DECAY 1 0.000000 # d : 0.0
> DECAY 2 0.000000 # u : 0.0
> DECAY 3 0.000000 # s : 0.0
> DECAY 4 0.000000 # c : 0.0
> DECAY 5 0.000000 # b : 0.0
> DECAY 11 0.000000 # e- : 0.0
> DECAY 12 0.000000 # ve : 0.0
> DECAY 13 0.000000 # mu- : 0.0
> DECAY 14 0.000000 # vm : 0.0
> DECAY 15 0.000000 # ta- : 0.0
> DECAY 16 0.000000 # vt : 0.0
> DECAY 21 0.000000 # g : 0.0
> DECAY 22 0.000000 # a : 0.0
> DECAY 9000002 2.495200 # ghz : WZ
> DECAY 9000003 2.085000 # ghwp : WW
> DECAY 9000004 2.085000 # ghwm : WW
> #===========================================================
> # QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
> #===========================================================
>
> Block QNUMBERS 9900012 # n1
> 1 0 # 3 times electric charge
> 2 2 # number of spin states (2S+1)
> 3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
> 4 0 # Particle/Antiparticle distinction (0=own anti)
> Block QNUMBERS 9900014 # n2
> 1 0 # 3 times electric charge
> 2 2 # number of spin states (2S+1)
> 3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
> 4 0 # Particle/Antiparticle distinction (0=own anti)
> Block QNUMBERS 9900016 # n3
> 1 0 # 3 times electric charge
> 2 2 # number of spin states (2S+1)
> 3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
> 4 0 # Particle/Antiparticle distinction (0=own anti)
> #***********************************************************************
> # MadGraph5_aMC@NLO *
> # *
> # run_card.dat aMC@NLO *
> # *
> # This file is used to set the parameters of the run. *
> # *
> # Some notation/conventions: *
> # *
> # Lines starting with a hash (#) are info or comments *
> # *
> # mind the format: value = variable ! comment *
> # *
> # Some of the values of variables can be list. These can either be *
> # comma or space separated. *
> #***********************************************************************
> #
> #*******************
> # Running parameters
> #*******************
> #
> #***********************************************************************
> # Tag name for the run (one word) *
> #***********************************************************************
> tag_1 = run_tag ! name of the run
> #***********************************************************************
> # Number of LHE events (and their normalization) and the required *
> # (relative) accuracy on the Xsec. *
> # These values are ignored for fixed order runs *
> #***********************************************************************
> 100 = nevents ! Number of unweighted events requested
> -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
> -1 = nevt_job! Max number of events per job in event generation.
> ! (-1= no split).
> #***********************************************************************
> # Normalize the weights of LHE events such that they sum or average to *
> # the total cross section *
> #***********************************************************************
> average = event_norm ! valid settings: average, sum, bias
> #***********************************************************************
> # Number of points per itegration channel (ignored for aMC@NLO runs) *
> #***********************************************************************
> 0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
> ! number of points and iter. below)
> # These numbers are ignored except if req_acc_FO is equal to -1
> 5000 = npoints_FO_grid ! number of points to setup grids
> 4 = niters_FO_grid ! number of iter. to setup grids
> 10000 = npoints_FO ! number of points to compute Xsec
> 6 = niters_FO ! number of iter. to compute Xsec
> #***********************************************************************
> # Random number seed *
> #***********************************************************************
> 0 = iseed ! rnd seed (0=assigned automatically=default))
> #***********************************************************************
> # Collider type and energy *
> #***********************************************************************
> 1 = lpp1 ! beam 1 type (0 = no PDF)
> 1 = lpp2 ! beam 2 type (0 = no PDF)
> 6500.0 = ebeam1 ! beam 1 energy in GeV
> 6500.0 = ebeam2 ! beam 2 energy in GeV
> #***********************************************************************
> # PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
> #***********************************************************************
> nn23nlo = pdlabel ! PDF set
> 244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
> ! numbers for central PDF sets are allowed. Can be a list;
> ! PDF sets beyond the first are included via reweighting.
> #***********************************************************************
> # Include the NLO Monte Carlo subtr. terms for the following parton *
> # shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
> # WARNING: PYTHIA6PT works only for processes without FSR!!!! *
> #***********************************************************************
> HERWIG6 = parton_shower
> 1.0 = shower_scale_factor ! multiply default shower starting
> ! scale by this factor
> #***********************************************************************
> # Renormalization and factorization scales *
> # (Default functional form for the non-fixed scales is the sum of *
> # the transverse masses divided by two of all final state particles *
> # and partons. This can be changed in SubProcesses/set_scales.f or via *
> # dynamical_scale_choice option) *
> #***********************************************************************
> False = fixed_ren_scale ! if .true. use fixed ren scale
> False = fixed_fac_scale ! if .true. use fixed fac scale
> 91.118 = muR_ref_fixed ! fixed ren reference scale
> 91.118 = muF_ref_fixed ! fixed fact reference scale
> -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
> ! dynamical choices. Can be a list; scale choices beyond the
> ! first are included via reweighting
> 1.0 = muR_over_ref ! ratio of current muR over reference muR
> 1.0 = muF_over_ref ! ratio of current muF over reference muF
> #***********************************************************************
> # Reweight variables for scale dependence and PDF uncertainty *
> #***********************************************************************
> 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
> 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
> True = reweight_scale ! Reweight to get scale variation using the
> ! rw_rscale and rw_fscale factors. Should be a list of
> ! booleans of equal length to dynamical_scale_choice to
> ! specify for which choice to include scale dependence.
> False = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
> ! list booleans of equal length to lhaid to specify for
> ! which PDF set to include the uncertainties.
> #***********************************************************************
> # Store reweight information in the LHE file for off-line model- *
> # parameter reweighting at NLO+PS accuracy *
> #***********************************************************************
> False = store_rwgt_info ! Store info for reweighting in LHE file
> #***********************************************************************
> # ickkw parameter: *
> # 0: No merging *
> # 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
> # level. After showering an MLM-type merging should be applied as *
> # well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
> # 4: UNLOPS merging (with pythia8 only). No interface from within *
> # MG5_aMC available, but available in Pythia8. *
> # -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
> #***********************************************************************
> 0 = ickkw
> #***********************************************************************
> #
> #***********************************************************************
> # BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
> # written in the LHE event file *
> #***********************************************************************
> 15.0 = bwcutoff
> #***********************************************************************
> # Cuts on the jets. Jet clustering is performed by FastJet. *
> # - When matching to a parton shower, these generation cuts should be *
> # considerably softer than the analysis cuts. *
> # - More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
> 0.7 = jetradius ! The radius parameter for the jet algorithm
> 10.0 = ptj ! Min jet transverse momentum
> -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
> #***********************************************************************
> # Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
> # More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 0.0 = ptl ! Min lepton transverse momentum
> -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
> 0.0 = drll ! Min distance between opposite sign lepton pairs
> 0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
> 0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
> 30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
> #***********************************************************************
> # Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
> # all the other parameters are ignored. *
> # More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 20.0 = ptgmin ! Min photon transverse momentum
> -1.0 = etagamma ! Max photon abs(pseudo-rap)
> 0.4 = R0gamma ! Radius of isolation code
> 1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
> 1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
> True = isoEM ! isolate photons from EM energy (photons and leptons)
> #***********************************************************************
> # For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
> #***********************************************************************
> 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
> #***********************************************************************
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Sihyun Jeon (shjeon) said : #3

Hi Olivier,
thanks for the answer but I still have a question.

I downloaded numpy from
https://www.scipy.org/scipylib/download.html

the downloaded 'numpy' directory was moved to madgraph directory, and was successfuly built.

And in the mg5_configuration.txt, I've modified the line like below.
 f2py_compiler = /data7/Users/shjeon/MG5_aMC_v2_6_0/numpy

Is there a specific file inside numpy directory that should be specified as the "f2py_compiler"? Or is the directory enough?

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch auto
Traceback (most recent call last):
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1438, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/amcatnlo_run_interface.py", line 1243, in do_launch
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py", line 3463, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1580, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 99, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 538, in do_launch
    return self.run_onshell(line)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 1236, in run_onshell
    self.options)
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2061, in __init__
    self.compile()
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/MadSpin/decay.py", line 4295, in compile
    nb_core=self.mgcmd.options['nb_core'])
  File "/data7/Users/shjeon/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 479, in compile
    raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
The compilation fails with the following output message:
    cd P4_gu_n1epd_n1_epdux;make matrix2py.so
    cd P4_gu_n1epd_n1_epscx;make matrix2py.so
    cd P2_ug_n1epd;make matrix2py.so
    cd P4_ug_n1epd_n1_epdux;make matrix2py.so
    cd P4_dxu_n1epg_n1_epdux;make matrix2py.so
    cd P4_dxg_n1epux_n1_epscx;make matrix2py.so
    cd P2_gu_n1epd;make matrix2py.so
    cd P2_gdx_n1epux;make matrix2py.so
    cd P1_dxu_n1ep;make matrix2py.so
    cd P0_n1_epdux;make matrix2py.so
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_ug_n1epd_n1_epdux'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_ug_n1epd'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dxu_n1epg_n1_epdux'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epscx'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dxg_n1epux_n1_epscx'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gu_n1epd'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dxu_n1ep'
    make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gdx_n1epux'
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    touch __init__.py
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    /bin/bash: {cpp:: command not found
    /bin/bash: {cpp:: command not found
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dxu_n1epg_n1_epdux'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_ug_n1epd_n1_epdux'
    makefile:15: recipe for target 'P4_dxu_n1epg_n1_epdux/matrix2py.so' failed
    make: *** [P4_dxu_n1epg_n1_epdux/matrix2py.so] Error 2
    make: *** Waiting for unfinished jobs....
    {'cpp': None, 'fortran': None, 'f2py': '/data7/Users/shjeon/MG5_aMC_v2_6_0/numpy'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
    makefile:13: recipe for target 'P4_ug_n1epd_n1_epdux/matrix2py.so' failed
    make: *** [P4_ug_n1epd_n1_epdux/matrix2py.so] Error 2
    /bin/bash: {cpp:: command not found
    /bin/bash: {cpp:: command not found
    /bin/bash: {cpp:: command not found
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_ug_n1epd'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    /bin/bash: {cpp:: command not found
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gdx_n1epux'
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_gu_n1epd'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    /bin/bash: {cpp:: command not found
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_n1_epdux'
    makefile:21: recipe for target 'P2_gdx_n1epux/matrix2py.so' failed
    make: *** [P2_gdx_n1epux/matrix2py.so] Error 2
    /bin/bash: {cpp:: command not found
    makefile:11: recipe for target 'P2_ug_n1epd/matrix2py.so' failed
    make: *** [P2_ug_n1epd/matrix2py.so] Error 2
    makefile:19: recipe for target 'P2_gu_n1epd/matrix2py.so' failed
    make: *** [P2_gu_n1epd/matrix2py.so] Error 2
    makefile:7: recipe for target 'P4_gu_n1epd_n1_epdux/matrix2py.so' failed
    make: *** [P4_gu_n1epd_n1_epdux/matrix2py.so] Error 2
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_dxg_n1epux_n1_epscx'
    /bin/bash: {cpp:: command not found
    makefile:25: recipe for target 'P0_n1_epdux/matrix2py.so' failed
    make: *** [P0_n1_epdux/matrix2py.so] Error 2
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epscx'
    makefile:17: recipe for target 'P4_dxg_n1epux_n1_epscx/matrix2py.so' failed
    make: *** [P4_dxg_n1epux_n1_epscx/matrix2py.so] Error 2
    makefile:9: recipe for target 'P4_gu_n1epd_n1_epscx/matrix2py.so' failed
    make: *** [P4_gu_n1epd_n1_epscx/matrix2py.so] Error 2
    /bin/bash: {cpp:: command not found
    makefile:26: recipe for target 'matrix2py.so' failed
    make[1]: *** [matrix2py.so] Error 127
    make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_dxu_n1ep'
    makefile:23: recipe for target 'P1_dxu_n1ep/matrix2py.so' failed
    make: *** [P1_dxu_n1ep/matrix2py.so] Error 2

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
Value of current Options:
              text_editor : vi
      notification_center : True
                    pjfry : None
       cluster_local_path : None
       group_subprocesses : Auto
ignore_six_quark_processes : False
    loop_optimized_output : True
    cluster_status_update : (600, 30)
         fortran_compiler : None
               hepmc_path : None
                  collier : None
              auto_update : 7
             pythia8_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/pythia8
                hwpp_path : None
low_mem_multicore_nlo_generation : False
                    golem : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/Delphes
              thepeg_path : None
             cluster_type : condor
        madanalysis5_path : None
      exrootanalysis_path : None
                      OLP : MadLoop
                 applgrid : applgrid-config
               eps_viewer : None
                  fastjet : None
                 run_mode : 2
              web_browser : None
   automatic_html_opening : False
        cluster_temp_path : None
             cluster_size : 100
            cluster_queue : None
             syscalc_path : None
         madanalysis_path : None
                   lhapdf : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config
             stdout_level : 20
                  nb_core : 10
            f2py_compiler : /data7/Users/shjeon/MG5_aMC_v2_6_0/numpy
                    ninja : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/lib
                  amcfast : amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
           crash_on_error : False
mg5amc_py8_interface_path : /data7/Users/shjeon/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
         loop_color_flows : False
                  samurai : None
         cluster_nb_retry : 1
                 mg5_path : /data7/Users/shjeon/MG5_aMC_v2_6_0
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
   max_npoint_for_channel : 0
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
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~
import model /data7/Users/shjeon/MG5_aMC_v2_6_0/models/SM_HeavyN_NLO
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
generate p p > n1 e+ [QCD]
output TEST/
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR LOOP
###################################
Block loop
    1 9.118800e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
    6 1.733000e+02 # MT
   23 9.118760e+01 # MZ
   25 1.257000e+02 # MH
  9900012 30 # mN1
  9900014 5.000000e+02 # mN2
  9900016 1.000000e+03 # mN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  5 0.000000 # b : 0.0
  11 0.000000 # e- : 0.0
  12 0.000000 # ve : 0.0
  13 0.000000 # mu- : 0.0
  14 0.000000 # vm : 0.0
  15 0.000000 # ta- : 0.0
  16 0.000000 # vt : 0.0
  21 0.000000 # g : 0.0
  22 0.000000 # a : 0.0
  24 79.951230 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))
  9000002 91.187600 # ghz : MZ
  9000003 79.951230 # ghwp : MW
  9000004 79.951230 # ghwm : MW

###################################
## INFORMATION FOR NUMIXING
###################################
Block numixing
    1 1.000000e+00 # VeN1
    2 0.000000e+00 # VeN2
    3 0.000000e+00 # VeN3
    4 0.000000e+00 # VmuN1
    5 1.000000e+00 # VmuN2
    6 0.000000e+00 # VmuN3
    7 0.000000e+00 # VtaN1
    8 0.000000e+00 # VtaN2
    9 1.000000e+00 # VtaN3

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.279400e+02 # aEWM1
    2 1.174560e-05 # Gf
    3 1.184000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    6 1.733000e+02 # ymt

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.350000e+00 # WT
DECAY 23 2.495200e+00 # WZ
DECAY 24 2.085000e+00 # WW
DECAY 25 4.170000e-03 # WH
DECAY 9900012 3.030000e-01 # WN1
DECAY 9900014 1.500000e+00 # WN2
DECAY 9900016 1.230000e+01 # WN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
DECAY 9000002 2.495200 # ghz : WZ
DECAY 9000003 2.085000 # ghwp : WW
DECAY 9000004 2.085000 # ghwm : WW
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 9900012 # n1
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9900014 # n2
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9900016 # n3
        1 0 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 0 # Particle/Antiparticle distinction (0=own anti)
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
 10 = nevents ! Number of unweighted events requested
 -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
 -1 = nevt_job! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
 average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
 0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
                           ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
 5000 = npoints_FO_grid ! number of points to setup grids
 4 = niters_FO_grid ! number of iter. to setup grids
 10000 = npoints_FO ! number of points to compute Xsec
 6 = niters_FO ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
 0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
 1 = lpp1 ! beam 1 type (0 = no PDF)
 1 = lpp2 ! beam 2 type (0 = no PDF)
 6500.0 = ebeam1 ! beam 1 energy in GeV
 6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
 nn23nlo = pdlabel ! PDF set
 244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
              ! numbers for central PDF sets are allowed. Can be a list;
              ! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  HERWIG6 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.118 = muR_ref_fixed ! fixed ren reference scale
 91.118 = muF_ref_fixed ! fixed fact reference scale
 -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
 1.0 = muR_over_ref ! ratio of current muR over reference muR
 1.0 = muF_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
 True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
 False = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
 False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
 0 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
 15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  0.7 = jetradius ! The radius parameter for the jet algorithm
 10.0 = ptj ! Min jet transverse momentum
 -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  0.0 = ptl ! Min lepton transverse momentum
 -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
 30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
 20.0 = ptgmin ! Min photon transverse momentum
 -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = R0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
 True = isoEM ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************

Sihyun Jeon (shjeon) said : #4

Changing the line to
f2py_compiler = /data7/Users/shjeon/MG5_aMC_v2_6_0/numpy/numpy/f2py/f2py2e.py

gave me a similar error..

Sihyun Jeon (shjeon) said : #5

Hi Olivier,
I've googled several stuffs and specified the paths to bin paths.

 fortran_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
 f2py_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py
 cpp_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++

The error message I get is the below.
I specified cpp compiler as well since it says
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
But now I am stuck again.
Could you help me once more?

Command "launch auto " interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
        The compilation fails with the following output message:
            cd P2_wp_epn1;make matrix2py.so
            cd P1_wm_emn3;make matrix2py.so
            cd P5_z_vmn2;make matrix2py.so
            cd P5_z_ghwmghwmx;make matrix2py.so
            cd P5_z_vexn1;make matrix2py.so
            cd P4_gu_n1epd_n1_epdux;make matrix2py.so
            cd P0_tx_bxwm_wm_tamn3;make matrix2py.so
            cd P5_z_vmxn3;make matrix2py.so
            cd P2_wp_epn3;make matrix2py.so
            cd P0_tx_bxwm_wm_ghaghwpx;make matrix2py.so
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
            make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            touch __init__.py
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
            make[1]: *** [matrix2py.so] Error 127
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
            /bin/bash: {cpp:: command not found
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
            makefile:11: recipe for target 'P5_z_vmn2/matrix2py.so' failed
            make: *** [P5_z_vmn2/matrix2py.so] Error 2
            make: *** Waiting for unfinished jobs....
            makefile:7: recipe for target 'P2_wp_epn1/matrix2py.so' failed
            make: *** [P2_wp_epn1/matrix2py.so] Error 2
            makefile:13: recipe for target 'P5_z_ghwmghwmx/matrix2py.so' failed
            make: *** [P5_z_ghwmghwmx/matrix2py.so] Error 2
            makefile:25: recipe for target 'P0_tx_bxwm_wm_ghaghwpx/matrix2py.so' failed
            make: *** [P0_tx_bxwm_wm_ghaghwpx/matrix2py.so] Error 2
            makefile:23: recipe for target 'P2_wp_epn3/matrix2py.so' failed
            make: *** [P2_wp_epn3/matrix2py.so] Error 2
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
            makefile:15: recipe for target 'P5_z_vexn1/matrix2py.so' failed
            make: *** [P5_z_vexn1/matrix2py.so] Error 2
            /bin/bash: {cpp:: command not found
            /bin/bash: {cpp:: command not found
            makefile:17: recipe for target 'P4_gu_n1epd_n1_epdux/matrix2py.so' failed
            makefile:26: recipe for target 'matrix2py.so' failed
            make: *** [P4_gu_n1epd_n1_epdux/matrix2py.so] Error 2
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
            /bin/bash: {cpp:: command not found
            makefile:19: recipe for target 'P0_tx_bxwm_wm_tamn3/matrix2py.so' failed
            make: *** [P0_tx_bxwm_wm_tamn3/matrix2py.so] Error 2
            makefile:21: recipe for target 'P5_z_vmxn3/matrix2py.so' failed
            make: *** [P5_z_vmxn3/matrix2py.so] Error 2
            makefile:26: recipe for target 'matrix2py.so' failed
            make[1]: *** [matrix2py.so] Error 127
            make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
            makefile:9: recipe for target 'P1_wm_emn3/matrix2py.so' failed
            make: *** [P1_wm_emn3/matrix2py.so] Error 2

        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
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/run_01_tag_1_debug.log'.
Please attach this file to your report.

Hi,

Sorry I was traveling yesterday.

> fortran_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> f2py_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py
> cpp_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++

Ok this is correctly setup. Unfortunately, looks like a bug occur when you specify the path to f2py.

> I specified cpp compiler as well since it says
> /bin/bash: {cpp:: command not found

Looks like that's a bug occur. I can actually reproduce it when specifying the path to f2py.

So you have two solution:
1) put back f2py_compiler = None (or just comment the line)
    And before running mad graph run the line "export PATH=$PATH:/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/"

2) the second method is to apply the following patch:

=== modified file 'madgraph/iolibs/export_v4.py'
--- madgraph/iolibs/export_v4.py 2017-08-10 13:09:28 +0000
+++ madgraph/iolibs/export_v4.py 2017-09-14 09:17:18 +0000
@@ -1739,7 +1739,7 @@
             f2py_compiler = ''
         # Try to find the correct one.
         if default_compiler['f2py'] and misc.which(default_compiler['f2py']):
- f2py_compiler = default_compiler
+ f2py_compiler = default_compiler['f2py']
         elif misc.which('f2py'):
             f2py_compiler = 'f2py'
         elif sys.version_info[1] == 6:

Thanks for reporting this, this will be fixed in the next version of the code.

Cheers,

Olivier

> On 13 Sep 2017, at 22:27, Sihyun Jeon <email address hidden> wrote:
>
> Question #657970 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/657970
>
> Sihyun Jeon gave more information on the question:
> Hi Olivier,
> I've googled several stuffs and specified the paths to bin paths.
>
> fortran_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> f2py_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py
> cpp_compiler = /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++
>
> The error message I get is the below.
> I specified cpp compiler as well since it says
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> But now I am stuck again.
> Could you help me once more?
>
>
>
> Command "launch auto " interrupted with error:
> MadGraph5Error : A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
> The compilation fails with the following output message:
> cd P2_wp_epn1;make matrix2py.so
> cd P1_wm_emn3;make matrix2py.so
> cd P5_z_vmn2;make matrix2py.so
> cd P5_z_ghwmghwmx;make matrix2py.so
> cd P5_z_vexn1;make matrix2py.so
> cd P4_gu_n1epd_n1_epdux;make matrix2py.so
> cd P0_tx_bxwm_wm_tamn3;make matrix2py.so
> cd P5_z_vmxn3;make matrix2py.so
> cd P2_wp_epn3;make matrix2py.so
> cd P0_tx_bxwm_wm_ghaghwpx;make matrix2py.so
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
> make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> touch __init__.py
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> {'cpp': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/g++', 'fortran': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran', 'f2py': '/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py'} -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/gcc/5.3.0/bin/gfortran
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
> make[1]: *** [matrix2py.so] Error 127
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
> /bin/bash: {cpp:: command not found
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
> makefile:11: recipe for target 'P5_z_vmn2/matrix2py.so' failed
> make: *** [P5_z_vmn2/matrix2py.so] Error 2
> make: *** Waiting for unfinished jobs....
> makefile:7: recipe for target 'P2_wp_epn1/matrix2py.so' failed
> make: *** [P2_wp_epn1/matrix2py.so] Error 2
> makefile:13: recipe for target 'P5_z_ghwmghwmx/matrix2py.so' failed
> make: *** [P5_z_ghwmghwmx/matrix2py.so] Error 2
> makefile:25: recipe for target 'P0_tx_bxwm_wm_ghaghwpx/matrix2py.so' failed
> make: *** [P0_tx_bxwm_wm_ghaghwpx/matrix2py.so] Error 2
> makefile:23: recipe for target 'P2_wp_epn3/matrix2py.so' failed
> make: *** [P2_wp_epn3/matrix2py.so] Error 2
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
> makefile:15: recipe for target 'P5_z_vexn1/matrix2py.so' failed
> make: *** [P5_z_vexn1/matrix2py.so] Error 2
> /bin/bash: {cpp:: command not found
> /bin/bash: {cpp:: command not found
> makefile:17: recipe for target 'P4_gu_n1epd_n1_epdux/matrix2py.so' failed
> makefile:26: recipe for target 'matrix2py.so' failed
> make: *** [P4_gu_n1epd_n1_epdux/matrix2py.so] Error 2
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
> /bin/bash: {cpp:: command not found
> makefile:19: recipe for target 'P0_tx_bxwm_wm_tamn3/matrix2py.so' failed
> make: *** [P0_tx_bxwm_wm_tamn3/matrix2py.so] Error 2
> makefile:21: recipe for target 'P5_z_vmxn3/matrix2py.so' failed
> make: *** [P5_z_vmxn3/matrix2py.so] Error 2
> makefile:26: recipe for target 'matrix2py.so' failed
> make[1]: *** [matrix2py.so] Error 127
> make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
> makefile:9: recipe for target 'P1_wm_emn3/matrix2py.so' failed
> make: *** [P1_wm_emn3/matrix2py.so] Error 2
>
> 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
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/run_01_tag_1_debug.log'.
> Please attach this file to your report.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Sihyun Jeon (shjeon) said : #7

Hi again

I ran the line export but it did not work.
So I modified the line you wrote, adding ['f2py'] on the end and I still get an error..

I guess you told me those 2 solutions because maybe you successfuly compiled maybe?
But still does not work for me..

Are there any recommendations by looking at different error messages?

modified part........

        # Try to find the correct one.
        if default_compiler['f2py'] and misc.which(default_compiler['f2py']):
            f2py_compiler = default_compiler['f2py']
        elif misc.which('f2py'):
            f2py_compiler = 'f2py'

error message.........

Command "launch auto " interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses.
 The compilation fails with the following output message:
     cd P2_wp_epn1;make matrix2py.so
     cd P1_wm_emn3;make matrix2py.so
     cd P5_z_vmn2;make matrix2py.so
     cd P5_z_ghwmghwmx;make matrix2py.so
     cd P5_z_vexn1;make matrix2py.so
     cd P4_gu_n1epd_n1_epdux;make matrix2py.so
     cd P0_tx_bxwm_wm_tamn3;make matrix2py.so
     cd P5_z_vmxn3;make matrix2py.so
     cd P2_wp_epn3;make matrix2py.so
     cd P0_tx_bxwm_wm_ghaghwpx;make matrix2py.so
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
     make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
     make[1]: Entering directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     touch __init__.py
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py -L../../lib/ -ldhelas -lmodel -c matrix.f -m matrix2py --f77exec=gfortran
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn1'
     makefile:7: recipe for target 'P2_wp_epn1/matrix2py.so' failed
     make: *** [P2_wp_epn1/matrix2py.so] Error 2
     make: *** Waiting for unfinished jobs....
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmxn3'
     makefile:21: recipe for target 'P5_z_vmxn3/matrix2py.so' failed
     make: *** [P5_z_vmxn3/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vexn1'
     makefile:15: recipe for target 'P5_z_vexn1/matrix2py.so' failed
     make: *** [P5_z_vexn1/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P2_wp_epn3'
     makefile:23: recipe for target 'P2_wp_epn3/matrix2py.so' failed
     make: *** [P2_wp_epn3/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P4_gu_n1epd_n1_epdux'
     makefile:17: recipe for target 'P4_gu_n1epd_n1_epdux/matrix2py.so' failed
     make: *** [P4_gu_n1epd_n1_epdux/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_ghaghwpx'
     makefile:25: recipe for target 'P0_tx_bxwm_wm_ghaghwpx/matrix2py.so' failed
     make: *** [P0_tx_bxwm_wm_ghaghwpx/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P1_wm_emn3'
     makefile:9: recipe for target 'P1_wm_emn3/matrix2py.so' failed
     make: *** [P1_wm_emn3/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P0_tx_bxwm_wm_tamn3'
     makefile:19: recipe for target 'P0_tx_bxwm_wm_tamn3/matrix2py.so' failed
     make: *** [P0_tx_bxwm_wm_tamn3/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_vmn2'
     makefile:11: recipe for target 'P5_z_vmn2/matrix2py.so' failed
     make: *** [P5_z_vmn2/matrix2py.so] Error 2
     Traceback (most recent call last):
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py", line 5, in <module>
         pkg_resources.run_script('numpy==1.11.1', 'f2py')
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
         self.require(requires)[0].run_script(script_name, ns)
       File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py", line 1332, in run_script
         raise ResolutionError("No script named %r" % script_name)
     pkg_resources.ResolutionError: No script named 'f2py'
     makefile:26: recipe for target 'matrix2py.so' failed
     make[1]: *** [matrix2py.so] Error 1
     make[1]: Leaving directory '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/madspin_me/SubProcesses/P5_z_ghwmghwmx'
     makefile:13: recipe for target 'P5_z_ghwmghwmx/matrix2py.so' failed
     make: *** [P5_z_ghwmghwmx/matrix2py.so] Error 2

 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
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/data7/Users/shjeon/MG5_aMC_v2_6_0/TEST/run_01_tag_1_debug.log'.
Please attach this file to your report.

Hi,

Ok looks like the modification that you did were successful and that you correctly fix the bug that you discover.
So actually we are now back to you a configuration problem of your computer (so indeed it does compile for me):
When you execute
/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py<http://cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py>

It crashes:

On 14 Sep 2017, at 12:14, Sihyun Jeon <<email address hidden><mailto:<email address hidden>>> wrote:

    Traceback (most recent call last):
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py<http://cms.cern.ch/slc6_amd64_gcc530/external/py2-numpy/1.11.1/bin/f2py>", line 5, in <module>
        pkg_resources.run_script('numpy==1.11.1', 'f2py')
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py<http://cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py>", line 488, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py<http://cms.cern.ch/slc6_amd64_gcc530/external/py2-setuptools/2.1-ikhhed3/lib/python2.7/site-packages/pkg_resources.py>", line 1332, in run_script
        raise ResolutionError("No script named %r" % script_name)
    pkg_resources.ResolutionError: No script named 'f2py'

This sounds similar to the following discussion:
https://mail.scipy.org/pipermail/numpy-discussion/2008-March/032295.html
Sounds like that the code is confused by two installation of f2py (according to that thread)

Cheers,

Olivier

Sihyun Jeon (shjeon) said : #9

Thanks Olivier Mattelaer, that solved my question.