reweight via MadGraph3.1.0 and errors

Asked by Yuekai Song

Dear experts,
  I step into a compilation error in MG3.1.0 release while reweighing:
  I ran a smeft model, and in reweight_card, I set some parameter to a different value, and when I first made an output and launched it, the rewight seemed OK.
  But when I got into the output and ran the madevent by "./madevent reweight run_01 -f" or just launched it for the second time, the errors appeared.
  The information of the bug is in the attachment. Could you help me? Thank you a lot!

Question information

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

This question was originally filed as bug #1930159.

Revision history for this message
Yuekai Song (songyk) said :
#1

I think this bug may be due to some wrong configrations of my madgraph or computer, but I can't fix it. So I want you to give me some advice. Thank you very much!

Revision history for this message
Yuekai Song (songyk) said :
#2

The log of the error is here:
#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.0 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
reweight run_01 -f
Traceback (most recent call last):
  File "/home/syk/Syk/MG/bin/test_2/bin/internal/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/syk/Syk/MG/bin/test_2/bin/internal/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/syk/Syk/MG/bin/test_2/bin/internal/common_run_interface.py", line 2184, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1692, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1573, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/syk/Syk/MG/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/reweight_interface.py", line 504, in do_launch
    self.compile()
  File "/home/syk/Syk/MG/madgraph/interface/reweight_interface.py", line 1796, in compile
    misc.compile(['allmatrix2py.so'], cwd=pdir, nb_core=nb_core)
  File "/home/syk/Syk/MG/madgraph/various/misc.py", line 546, in compile
    raise MadGraph5Error(error_text)
madgraph.MadGraph5Error: A compilation Error occurs when trying to compile /home/syk/Syk/MG/bin/test_2/rw_me/SubProcesses.
The compilation fails with the following output message:
    f2py --f77exec=gfortran -L../lib/ -ldhelas -lmodel -c P1_uux_ttx/matrix.f -m P1_uux_ttx2py
    f2py --f77exec=gfortran -L../lib/ -ldhelas -lmodel -c P1_ddx_ttx/matrix.f -m P1_ddx_ttx2py
    f2py --f77exec=gfortran -L../lib/ -ldhelas -lmodel -c P1_gg_ttx/matrix.f -m P1_gg_ttx2py
    gfortran -w -fPIC -ffixed-line-length-132 -c -o P1_uux_ttx/matrix.o P1_uux_ttx/matrix.f
    gfortran -w -fPIC -ffixed-line-length-132 -c -o P1_ddx_ttx/matrix.o P1_ddx_ttx/matrix.f
    gfortran -w -fPIC -ffixed-line-length-132 -c -o all_matrix.o all_matrix.f
    ar cru ../lib//libmatrix.a P1_uux_ttx/matrix.o P1_ddx_ttx/matrix.o P1_gg_ttx/matrix.o all_matrix.o
    ar: `u' modifier ignored since `D' is the default (see `U')
    ranlib ../lib//libmatrix.a
    f2py --f77exec=gfortran -L../lib/ -lmatrix -ldhelas -lmodel -c all_matrix.f -m all_matrix2py
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building extension "P1_gg_ttx2py" sources
    f2py options: []
    f2py:> /tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2pymodule.c
    creating /tmp/tmps4b81shy/src.linux-x86_64-3.7
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building extension "P1_uux_ttx2py" sources
    f2py options: []
    f2py:> /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.c
    creating /tmp/tmpn3g3a22v/src.linux-x86_64-3.7
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building extension "all_matrix2py" sources
    f2py options: []
    f2py:> /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.c
    creating /tmp/tmpeqsa64gi/src.linux-x86_64-3.7
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building extension "P1_ddx_ttx2py" sources
    f2py options: []
    f2py:> /tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.c
    creating /tmp/tmpm86p6el0/src.linux-x86_64-3.7
    Reading fortran codes...
     Reading file 'P1_gg_ttx/matrix.f' (format:fix,strict)
    Line #56 in P1_gg_ttx/matrix.f:" PARAMETER (NPOLENTRIES=(NEXTERNAL+1)*6)"
     determineexprtype: could not determine expressions ('(nexternal+1)*6') type.
    Line #78 in P1_gg_ttx/matrix.f:" DATA (BEAMS_HELAVGFACTOR(I),I=1,2)/2,2/"
     analyzeline: implied-DO list "(beams_helavgfactor(i),i=1,2)" is not supported. Skipping.
    Line #94 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 1),I=1,4) /-1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
    Line #95 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 2),I=1,4) /-1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
    Line #96 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 3),I=1,4) /-1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
    Line #97 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 4),I=1,4) /-1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
    Line #98 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 5),I=1,4) /-1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
    Line #99 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 6),I=1,4) /-1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
    Line #100 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 7),I=1,4) /-1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
    Line #101 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 8),I=1,4) /-1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
    Line #102 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 9),I=1,4) / 1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
    Line #103 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 10),I=1,4) / 1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
    Line #104 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 11),I=1,4) / 1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
    Line #105 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 12),I=1,4) / 1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
    Line #106 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 13),I=1,4) / 1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
    Line #107 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 14),I=1,4) / 1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
    Line #108 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 15),I=1,4) / 1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
    Line #109 in P1_gg_ttx/matrix.f:" DATA (NHEL(I, 16),I=1,4) / 1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
    Line #118 in P1_gg_ttx/matrix.f:" DATA ((POLARIZATIONS(I,J),I=0,NEXTERNAL),J=0,5)/NPOLENTRIES*-1/"
     analyzeline: implied-DO list "((polarizations(i,j),i=0,nexternal),j=0,5)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #240 in P1_gg_ttx/matrix.f:" DATA (CF(I, 1),I= 1, 2) /5.333333333333333D+00, -6.666666666666666D-01/"
     analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
    Line #246 in P1_gg_ttx/matrix.f:" DATA (CF(I, 2),I= 1, 2) /-6.666666666666666D-01 ,5.333333333333333D+00/"
     analyzeline: implied-DO list "(cf(i, 2),i= 1, 2)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #315 in P1_gg_ttx/matrix.f:" CALL SETPARA(PATH) !first call to setup the paramaters "
     analyzeline: No name/args pattern found for line.
    Post-processing...
     Block: P1_gg_ttx2py
       Block: m0_smatrixhel
       Block: m0_smatrix
       Block: m0_matrix
       Block: m0_get_value
       Block: m0_initialisemodel
       Block: m0_is_born_hel_selected
    Post-processing (stage 2)...
    Building modules...
     Building module "P1_gg_ttx2py"...
      Constructing wrapper function "m0_smatrixhel"...
        ans = m0_smatrixhel(p,hel)
      Constructing wrapper function "m0_smatrix"...
        ans = m0_smatrix(p)
      Creating wrapper for Fortran function "m0_matrix"("m0_matrix")...
      Constructing wrapper function "m0_matrix"...
        m0_matrix = m0_matrix(p,nhel,ic)
      Constructing wrapper function "m0_get_value"...
        ans = m0_get_value(p,alphas,nhel)
      Constructing wrapper function "m0_initialisemodel"...
        m0_initialisemodel(path)
      Creating wrapper for Fortran function "m0_is_born_hel_selected"("m0_is_born_hel_selected")...
      Constructing wrapper function "m0_is_born_hel_selected"...
        m0_is_born_hel_selected = m0_is_born_hel_selected(helid)
      Constructing COMMON block support for "m0_heluserchoice"...
        userhel
      Constructing COMMON block support for "m0_process_nhel"...
        nhel
      Constructing COMMON block support for "m0_helreset"...
        helreset
      Constructing COMMON block support for "m0_born_beam_pol"...
        polarizations
      Constructing COMMON block support for "strong"...
        g
      Constructing COMMON block support for "weak"...
        gal
      Constructing COMMON block support for "rscale"...
        mu_r
      Constructing COMMON block support for "masses"...
        mdl_mt,mdl_mw,mdl_mt1,mdl_mw1,mdl_mb,mdl_mz,mdl_mz1,mdl_mh1,mdl_mh
      Constructing COMMON block support for "widths"...
        mdl_ww,mdl_wz,mdl_wt1,mdl_wt,mdl_ww1,mdl_wh1,mdl_wz1,mdl_wh
      Constructing COMMON block support for "couplings"...
        gc_6,gc_1,gc_2,gc_203,gc_263,gc_264
     Wrote C/API module "P1_gg_ttx2py" to file "/tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2pymodule.c"
     Fortran 77 wrappers are saved to "/tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2py-f2pywrappers.f"
      adding '/tmp/tmps4b81shy/src.linux-x86_64-3.7/fortranobject.c' to sources.
      adding '/tmp/tmps4b81shy/src.linux-x86_64-3.7' to include_dirs.
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmps4b81shy/src.linux-x86_64-3.7
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmps4b81shy/src.linux-x86_64-3.7
      adding '/tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2py-f2pywrappers.f' to sources.
    build_src: building npy-pkg config files
    running build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    Reading fortran codes...
     Reading file 'P1_uux_ttx/matrix.f' (format:fix,strict)
    Line #57 in P1_uux_ttx/matrix.f:" PARAMETER (NPOLENTRIES=(NEXTERNAL+1)*6)"
     determineexprtype: could not determine expressions ('(nexternal+1)*6') type.
    Line #79 in P1_uux_ttx/matrix.f:" DATA (BEAMS_HELAVGFACTOR(I),I=1,2)/2,2/"
     analyzeline: implied-DO list "(beams_helavgfactor(i),i=1,2)" is not supported. Skipping.
    Line #95 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 1),I=1,4) / 1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
    Line #96 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 2),I=1,4) / 1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
    Line #97 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 3),I=1,4) / 1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
    Line #98 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 4),I=1,4) / 1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
    Line #99 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 5),I=1,4) / 1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
    Line #100 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 6),I=1,4) / 1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
    Line #101 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 7),I=1,4) / 1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
    Line #102 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 8),I=1,4) / 1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
    Line #103 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 9),I=1,4) /-1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
    Line #104 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 10),I=1,4) /-1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
    Line #105 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 11),I=1,4) /-1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
    Line #106 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 12),I=1,4) /-1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
    Line #107 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 13),I=1,4) /-1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
    Line #108 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 14),I=1,4) /-1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
    Line #109 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 15),I=1,4) /-1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
    Line #110 in P1_uux_ttx/matrix.f:" DATA (NHEL(I, 16),I=1,4) /-1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
    Line #119 in P1_uux_ttx/matrix.f:" DATA ((POLARIZATIONS(I,J),I=0,NEXTERNAL),J=0,5)/NPOLENTRIES*-1/"
     analyzeline: implied-DO list "((polarizations(i,j),i=0,nexternal),j=0,5)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #242 in P1_uux_ttx/matrix.f:" DATA (CF(I, 1),I= 1, 2) /9.000000000000000D+00 ,3.000000000000000D+00/"
     analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
    Line #248 in P1_uux_ttx/matrix.f:" DATA (CF(I, 2),I= 1, 2) /3.000000000000000D+00 ,9.000000000000000D+00/"
     analyzeline: implied-DO list "(cf(i, 2),i= 1, 2)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #314 in P1_uux_ttx/matrix.f:" CALL SETPARA(PATH) !first call to setup the paramaters "
     analyzeline: No name/args pattern found for line.
    Post-processing...
     Block: P1_uux_ttx2py
       Block: m1_smatrixhel
       Block: m1_smatrix
       Block: m1_matrix
       Block: m1_get_value
       Block: m1_initialisemodel
       Block: m1_is_born_hel_selected
    Post-processing (stage 2)...
    Building modules...
     Building module "P1_uux_ttx2py"...
      Constructing wrapper function "m1_smatrixhel"...
        ans = m1_smatrixhel(p,hel)
      Constructing wrapper function "m1_smatrix"...
        ans = m1_smatrix(p)
      Creating wrapper for Fortran function "m1_matrix"("m1_matrix")...
      Constructing wrapper function "m1_matrix"...
        m1_matrix = m1_matrix(p,nhel,ic)
      Constructing wrapper function "m1_get_value"...
        ans = m1_get_value(p,alphas,nhel)
      Constructing wrapper function "m1_initialisemodel"...
        m1_initialisemodel(path)
      Creating wrapper for Fortran function "m1_is_born_hel_selected"("m1_is_born_hel_selected")...
      Constructing wrapper function "m1_is_born_hel_selected"...
        m1_is_born_hel_selected = m1_is_born_hel_selected(helid)
      Constructing COMMON block support for "m1_heluserchoice"...
        userhel
      Constructing COMMON block support for "m1_process_nhel"...
        nhel
      Constructing COMMON block support for "m1_helreset"...
        helreset
      Constructing COMMON block support for "m1_born_beam_pol"...
        polarizations
      Constructing COMMON block support for "strong"...
        g
      Constructing COMMON block support for "weak"...
        gal
      Constructing COMMON block support for "rscale"...
        mu_r
      Constructing COMMON block support for "masses"...
        mdl_mt,mdl_mw,mdl_mt1,mdl_mw1,mdl_mb,mdl_mz,mdl_mz1,mdl_mh1,mdl_mh
      Constructing COMMON block support for "widths"...
        mdl_ww,mdl_wz,mdl_wt1,mdl_wt,mdl_ww1,mdl_wh1,mdl_wz1,mdl_wh
      Constructing COMMON block support for "couplings"...
        gc_6,gc_1,gc_2,gc_203,gc_263,gc_264
     Wrote C/API module "P1_uux_ttx2py" to file "/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.c"
     Fortran 77 wrappers are saved to "/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2py-f2pywrappers.f"
      adding '/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.c' to sources.
      adding '/tmp/tmpn3g3a22v/src.linux-x86_64-3.7' to include_dirs.
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpn3g3a22v/src.linux-x86_64-3.7
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpn3g3a22v/src.linux-x86_64-3.7
      adding '/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2py-f2pywrappers.f' to sources.
    build_src: building npy-pkg config files
    running build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    Reading fortran codes...
     Reading file 'all_matrix.f' (format:fix,strict)
     Reading file 'coupl.inc' (format:fix)
    Line #52 in all_matrix.f:" CALL SETPARA(PATH) !first call to setup the paramaters"
     analyzeline: No name/args pattern found for line.
     Reading file '../Source/MODEL/input.inc' (format:fix)
     Reading file '../Source/MODEL/coupl.inc' (format:fix)
    Post-processing...
     Block: all_matrix2py
       Block: smatrixhel
       Block: initialise
       Block: change_para
       Block: update_all_coup
       Block: get_pdg_order
       Block: get_prefix
    Post-processing (stage 2)...
    Building modules...
     Building module "all_matrix2py"...
      Constructing wrapper function "smatrixhel"...
        ans = smatrixhel(pdgs,procid,p,alphas,scale2,nhel,[npdg])
      Constructing wrapper function "initialise"...
        initialise(path)
      Constructing wrapper function "change_para"...
        change_para(name,value)
      Constructing wrapper function "update_all_coup"...
        update_all_coup()
      Constructing wrapper function "get_pdg_order"...
        pdg,allproc = get_pdg_order()
      Constructing wrapper function "get_prefix"...
        prefix = get_prefix()
      Constructing COMMON block support for "strong"...
        g
      Constructing COMMON block support for "weak"...
        gal
      Constructing COMMON block support for "rscale"...
        mu_r
      Constructing COMMON block support for "masses"...
        mdl_mt,mdl_mw,mdl_mt1,mdl_mw1,mdl_mb,mdl_mz,mdl_mz1,mdl_mh1,mdl_mh
      Constructing COMMON block support for "widths"...
        mdl_ww,mdl_wz,mdl_wt1,mdl_wt,mdl_ww1,mdl_wh1,mdl_wz1,mdl_wh
      Constructing COMMON block support for "couplings"...
        gc_6,gc_1,gc_2,gc_203,gc_263,gc_264
      Constructing COMMON block support for "m1_helreset"...
        m1_helreset
      Constructing COMMON block support for "m2_helreset"...
        m2_helreset
      Constructing COMMON block support for "params_r"...
        mdl_sqrt__as,mdl_ghgg2,mdl_ghgg4,mdl_ghgg5,mdl_g__exp__2,mdl_ghgg1,mdl_ghgg3,mdl_conjg__cthh,mdl_chw,mdl_dmw,mdl_linearpropcorrections,mdl_dgw,mdl_dgf,mdl_ch,mdl_dmh2,mdl_conjg__cbh,mdl_dg1,mdl_chb,mdl_nb__2__exp__0_25,mdl_mh__exp__2,mdl_sqrt__2,mdl_sqrt__aew,mdl_ee,mdl_mz__exp__2,mdl_nb__10__exp___m_40,mdl_lambdasmeft__exp__2,mdl_ee__exp__2,mdl_mt__exp__2,mdl_mh__exp__6,mdl_mh__exp__4,mdl_mz__exp__4,mdl_mz__exp__6,mdl_mb__exp__2,mdl_mz__exp__3,mdl_ee__exp__3,mdl_sqrt__gf,mdl_vevhat,mdl_lam,mdl_sth2,mdl_cth,mdl_sqrt__sth2,mdl_sth,mdl_yb,mdl_yt,mdl_vevhat__exp__2,mdl_mwsm,mdl_vevt,mdl_g1,mdl_gw,mdl_barlam,mdl_vev,mdl_mwsm__exp__6,mdl_mwsm__exp__4,mdl_mwsm__exp__2,mdl_ghaa,mdl_cth__exp__2,mdl_sth__exp__2,mdl_ghza,mdl_cth__exp__3,mdl_sth__exp__3,mdl_sth__exp__4,mdl_sth__exp__6,mdl_sth__exp__5,mdl_g1sh,mdl_gwsh,mdl_vevhat__exp__3,mdl_cth__exp__4,mdl_cth__exp__5,mdl_cg,mdl_lambdasmeft,mdl_aew,mdl_gf,as,mdl_ymb,mdl_ymt
      Constructing COMMON block support for "params_c"...
        mdl_g__exp__3,mdl_complexi,mdl_yb0,mdl_yt0
     Wrote C/API module "all_matrix2py" to file "/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.c"
     Fortran 77 wrappers are saved to "/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2py-f2pywrappers.f"
      adding '/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.c' to sources.
      adding '/tmp/tmpeqsa64gi/src.linux-x86_64-3.7' to include_dirs.
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpeqsa64gi/src.linux-x86_64-3.7
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpeqsa64gi/src.linux-x86_64-3.7
      adding '/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2py-f2pywrappers.f' to sources.
    build_src: building npy-pkg config files
    running build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
    customize Gnu95FCompiler
    Found executable /usr/bin/gfortran
    get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
    customize Gnu95FCompiler
    Found executable /usr/bin/gfortran
    get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
    Reading fortran codes...
     Reading file 'P1_ddx_ttx/matrix.f' (format:fix,strict)
    Line #57 in P1_ddx_ttx/matrix.f:" PARAMETER (NPOLENTRIES=(NEXTERNAL+1)*6)"
     determineexprtype: could not determine expressions ('(nexternal+1)*6') type.
    Line #79 in P1_ddx_ttx/matrix.f:" DATA (BEAMS_HELAVGFACTOR(I),I=1,2)/2,2/"
     analyzeline: implied-DO list "(beams_helavgfactor(i),i=1,2)" is not supported. Skipping.
    Line #95 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 1),I=1,4) / 1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
    Line #96 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 2),I=1,4) / 1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
    Line #97 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 3),I=1,4) / 1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
    Line #98 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 4),I=1,4) / 1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
    Line #99 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 5),I=1,4) / 1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
    Line #100 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 6),I=1,4) / 1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
    Line #101 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 7),I=1,4) / 1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
    Line #102 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 8),I=1,4) / 1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
    Line #103 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 9),I=1,4) /-1,-1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
    Line #104 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 10),I=1,4) /-1,-1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
    Line #105 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 11),I=1,4) /-1,-1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
    Line #106 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 12),I=1,4) /-1,-1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
    Line #107 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 13),I=1,4) /-1, 1,-1, 1/"
     analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
    Line #108 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 14),I=1,4) /-1, 1,-1,-1/"
     analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
    Line #109 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 15),I=1,4) /-1, 1, 1, 1/"
     analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
    Line #110 in P1_ddx_ttx/matrix.f:" DATA (NHEL(I, 16),I=1,4) /-1, 1, 1,-1/"
     analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
    Line #119 in P1_ddx_ttx/matrix.f:" DATA ((POLARIZATIONS(I,J),I=0,NEXTERNAL),J=0,5)/NPOLENTRIES*-1/"
     analyzeline: implied-DO list "((polarizations(i,j),i=0,nexternal),j=0,5)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #242 in P1_ddx_ttx/matrix.f:" DATA (CF(I, 1),I= 1, 2) /9.000000000000000D+00 ,3.000000000000000D+00/"
     analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
    Line #248 in P1_ddx_ttx/matrix.f:" DATA (CF(I, 2),I= 1, 2) /3.000000000000000D+00 ,9.000000000000000D+00/"
     analyzeline: implied-DO list "(cf(i, 2),i= 1, 2)" is not supported. Skipping.
     Reading file 'coupl.inc' (format:fix)
    Line #314 in P1_ddx_ttx/matrix.f:" CALL SETPARA(PATH) !first call to setup the paramaters "
     analyzeline: No name/args pattern found for line.
    Post-processing...
     Block: P1_ddx_ttx2py
       Block: m2_smatrixhel
       Block: m2_smatrix
       Block: m2_matrix
       Block: m2_get_value
       Block: m2_initialisemodel
       Block: m2_is_born_hel_selected
    Post-processing (stage 2)...
    Building modules...
     Building module "P1_ddx_ttx2py"...
      Constructing wrapper function "m2_smatrixhel"...
        ans = m2_smatrixhel(p,hel)
      Constructing wrapper function "m2_smatrix"...
        ans = m2_smatrix(p)
      Creating wrapper for Fortran function "m2_matrix"("m2_matrix")...
      Constructing wrapper function "m2_matrix"...
        m2_matrix = m2_matrix(p,nhel,ic)
      Constructing wrapper function "m2_get_value"...
        ans = m2_get_value(p,alphas,nhel)
      Constructing wrapper function "m2_initialisemodel"...
        m2_initialisemodel(path)
      Creating wrapper for Fortran function "m2_is_born_hel_selected"("m2_is_born_hel_selected")...
      Constructing wrapper function "m2_is_born_hel_selected"...
        m2_is_born_hel_selected = m2_is_born_hel_selected(helid)
      Constructing COMMON block support for "m2_heluserchoice"...
        userhel
      Constructing COMMON block support for "m2_process_nhel"...
        nhel
      Constructing COMMON block support for "m2_helreset"...
        helreset
      Constructing COMMON block support for "m2_born_beam_pol"...
        polarizations
      Constructing COMMON block support for "strong"...
        g
      Constructing COMMON block support for "weak"...
        gal
      Constructing COMMON block support for "rscale"...
        mu_r
      Constructing COMMON block support for "masses"...
        mdl_mt,mdl_mw,mdl_mt1,mdl_mw1,mdl_mb,mdl_mz,mdl_mz1,mdl_mh1,mdl_mh
      Constructing COMMON block support for "widths"...
        mdl_ww,mdl_wz,mdl_wt1,mdl_wt,mdl_ww1,mdl_wh1,mdl_wz1,mdl_wh
      Constructing COMMON block support for "couplings"...
        gc_6,gc_1,gc_2,gc_203,gc_263,gc_264
     Wrote C/API module "P1_ddx_ttx2py" to file "/tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.c"
     Fortran 77 wrappers are saved to "/tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2py-f2pywrappers.f"
      adding '/tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.c' to sources.
      adding '/tmp/tmpm86p6el0/src.linux-x86_64-3.7' to include_dirs.
    customize Gnu95FCompiler
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpm86p6el0/src.linux-x86_64-3.7
    copying /home/syk/.local/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpm86p6el0/src.linux-x86_64-3.7
      adding '/tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2py-f2pywrappers.f' to sources.
    build_src: building npy-pkg config files
    Found executable /usr/bin/gfortran
    running build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    customize Gnu95FCompiler
    customize Gnu95FCompiler
    get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
    customize Gnu95FCompiler
    Found executable /usr/bin/gfortran
    customize Gnu95FCompiler
    customize Gnu95FCompiler using build_ext
    building 'all_matrix2py' extension
    compiling C sources
    C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

    creating /tmp/tmpeqsa64gi/tmp
    creating /tmp/tmpeqsa64gi/tmp/tmpeqsa64gi
    creating /tmp/tmpeqsa64gi/tmp/tmpeqsa64gi/src.linux-x86_64-3.7
    compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmpeqsa64gi/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    customize Gnu95FCompiler using build_ext
    building 'P1_uux_ttx2py' extension
    compiling C sources
    C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

    creating /tmp/tmpn3g3a22v/tmp
    creating /tmp/tmpn3g3a22v/tmp/tmpn3g3a22v
    creating /tmp/tmpn3g3a22v/tmp/tmpn3g3a22v/src.linux-x86_64-3.7
    compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmpn3g3a22v/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    customize Gnu95FCompiler
    customize Gnu95FCompiler using build_ext
    gcc: /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.c
    building 'P1_gg_ttx2py' extension
    compiling C sources
    C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

    creating /tmp/tmps4b81shy/tmp
    creating /tmp/tmps4b81shy/tmp/tmps4b81shy
    creating /tmp/tmps4b81shy/tmp/tmps4b81shy/src.linux-x86_64-3.7
    compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmps4b81shy/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    gcc: /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.c
    gcc: /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.c
    gcc: /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.c
    gcc: /tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2pymodule.c
    gcc: /tmp/tmps4b81shy/src.linux-x86_64-3.7/fortranobject.c
    customize Gnu95FCompiler using build_ext
    building 'P1_ddx_ttx2py' extension
    compiling C sources
    C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

    creating /tmp/tmpm86p6el0/tmp
    creating /tmp/tmpm86p6el0/tmp/tmpm86p6el0
    creating /tmp/tmpm86p6el0/tmp/tmpm86p6el0/src.linux-x86_64-3.7
    compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmpm86p6el0/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    gcc: /tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.c
    gcc: /tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.c
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.c:16:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmps4b81shy/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmps4b81shy/src.linux-x86_64-3.7/fortranobject.c:2:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.c:2:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.c:142:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
     static int f2py_size(PyArrayObject* var, ...)
                ^~~~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmps4b81shy/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2pymodule.c:16:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.c:2:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    /tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2pymodule.c:169:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
     static int f2py_size(PyArrayObject* var, ...)
                ^~~~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.c:16:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.c:16:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.c:169:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
     static int f2py_size(PyArrayObject* var, ...)
                ^~~~~~~~~
    /tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.c:169:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
     static int f2py_size(PyArrayObject* var, ...)
                ^~~~~~~~~
    In file included from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:0,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.h:13,
                     from /tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.c:2:
    /home/syk/.local/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    compiling Fortran sources
    Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    compile options: '-I/tmp/tmpeqsa64gi/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    gfortran:f77: all_matrix.f
    gfortran:f77: /tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2py-f2pywrappers.f
    compiling Fortran sources
    Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    creating /tmp/tmpn3g3a22v/P1_uux_ttx
    compile options: '-I/tmp/tmpn3g3a22v/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    gfortran:f77: /tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2py-f2pywrappers.f
    gfortran:f77: P1_uux_ttx/matrix.f
    compiling Fortran sources
    Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    creating /tmp/tmps4b81shy/P1_gg_ttx
    compile options: '-I/tmp/tmps4b81shy/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    gfortran:f77: /tmp/tmps4b81shy/src.linux-x86_64-3.7/P1_gg_ttx2py-f2pywrappers.f
    gfortran:f77: P1_gg_ttx/matrix.f
    all_matrix.f:6:46:

           SUBROUTINE SMATRIXHEL(PDGS, PROCID, NPDG, P, ALPHAS, SCALE2,
                                                  1
    Warning: Unused dummy argument ‘npdg’ at (1) [-Wunused-dummy-argument]
    all_matrix.f:6:65:

           SUBROUTINE SMATRIXHEL(PDGS, PROCID, NPDG, P, ALPHAS, SCALE2,
                                                                     1
    Warning: Unused dummy argument ‘scale2’ at (1) [-Wunused-dummy-argument]
    compiling Fortran sources
    Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
    creating /tmp/tmpm86p6el0/P1_ddx_ttx
    compile options: '-I/tmp/tmpm86p6el0/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c'
    P1_uux_ttx/matrix.f:271:20:

             M1_MATRIX = M1_MATRIX+ZTEMP*DCONJG(JAMP(I))
                        1
    Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
    P1_uux_ttx/matrix.f:228:56:

           COMPLEX*16 AMP(NGRAPHS), JAMP(NCOLOR), TMP_JAMP(0)
                                                            1
    Warning: Unused variable ‘tmp_jamp’ declared at (1) [-Wunused-variable]
    gfortran:f77: /tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2py-f2pywrappers.f
    gfortran:f77: P1_ddx_ttx/matrix.f
    P1_gg_ttx/matrix.f:251:40:

           CALL VVV10P0_1(W(1,1),W(1,2),GC_31,ZERO,ZERO,W(1,5))
                                            1
    Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:254:38:

           CALL VVV7P0_1(W(1,1),W(1,2),GC_7,ZERO,ZERO,W(1,5))
                                          1
    Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:272:20:

             M0_MATRIX = M0_MATRIX+ZTEMP*DCONJG(JAMP(I))
                        1
    Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
    P1_ddx_ttx/matrix.f:271:20:

             M2_MATRIX = M2_MATRIX+ZTEMP*DCONJG(JAMP(I))
                        1
    Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
    P1_ddx_ttx/matrix.f:228:56:

           COMPLEX*16 AMP(NGRAPHS), JAMP(NCOLOR), TMP_JAMP(0)
                                                            1
    Warning: Unused variable ‘tmp_jamp’ declared at (1) [-Wunused-variable]
    /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpeqsa64gi/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2pymodule.o /tmp/tmpeqsa64gi/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/fortranobject.o /tmp/tmpeqsa64gi/all_matrix.o /tmp/tmpeqsa64gi/tmp/tmpeqsa64gi/src.linux-x86_64-3.7/all_matrix2py-f2pywrappers.o -L../lib/ -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lmatrix -ldhelas -lmodel -lgfortran -o ./all_matrix2py.cpython-37m-x86_64-linux-gnu.so
    /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpn3g3a22v/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2pymodule.o /tmp/tmpn3g3a22v/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/fortranobject.o /tmp/tmpn3g3a22v/P1_uux_ttx/matrix.o /tmp/tmpn3g3a22v/tmp/tmpn3g3a22v/src.linux-x86_64-3.7/P1_uux_ttx2py-f2pywrappers.o -L../lib/ -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -ldhelas -lmodel -lgfortran -o ./P1_uux_ttx2py.cpython-37m-x86_64-linux-gnu.so
    error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/tmp/tmps4b81shy/src.linux-x86_64-3.7 -I/home/syk/.local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include/python3.7m -c -c P1_gg_ttx/matrix.f -o /tmp/tmps4b81shy/P1_gg_ttx/matrix.o" failed with exit status 1
    updatevars:pdgs: attempt to change 'dimension(npdg)' to 'dimension(*)'. Ignoring.
    updatevars:p: attempt to change 'dimension(0:3,npdg)' to 'dimension(*)'. Ignoring.
    analyzevars: character array "character*20 prefix(4)" is considered as "character prefix(4,20)"; "intent(c)" is forced.
    analyzevars: character array "character*20 pref(4)" is considered as "character pref(4,20)"; "intent(c)" is forced.
    Removing build directory /tmp/tmpeqsa64gi
    /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpm86p6el0/tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2pymodule.o /tmp/tmpm86p6el0/tmp/tmpm86p6el0/src.linux-x86_64-3.7/fortranobject.o /tmp/tmpm86p6el0/P1_ddx_ttx/matrix.o /tmp/tmpm86p6el0/tmp/tmpm86p6el0/src.linux-x86_64-3.7/P1_ddx_ttx2py-f2pywrappers.o -L../lib/ -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -ldhelas -lmodel -lgfortran -o ./P1_ddx_ttx2py.cpython-37m-x86_64-linux-gnu.so
    makefile:17: recipe for target 'P1_gg_ttx2py.so' failed
    make: *** [P1_gg_ttx2py.so] Error 1
    make: *** Waiting for unfinished jobs....
    Removing build directory /tmp/tmpn3g3a22v
    Removing build directory /tmp/tmpm86p6el0

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

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

                      Configuration Options
                      ---------------------
               pythia8_path : /home/syk/Syk/MG/HEPTools/pythia8 (user set)
                  hwpp_path : None (user set)
                thepeg_path : None (user set)
                 hepmc_path : None (user set)
           madanalysis_path : None (user set)
          madanalysis5_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : /home/syk/Syk/MG/Delphes (user set)
        exrootanalysis_path : None (user set)
               syscalc_path : None (user set)
                     lhapdf : /home/syk/Syk/MG/HEPTools/lhapdf6_py3/bin/lhapdf-config (user set)
                 lhapdf_py2 : None
                 lhapdf_py3 : /home/syk/Syk/MG/HEPTools/lhapdf6_py3/bin/lhapdf-config (user set)
                    timeout : 60
              f2py_compiler : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : None
                web_browser : None
                 eps_viewer : None
                text_editor : None
           fortran_compiler : None
               cpp_compiler : None
                auto_update : 7 (user set)
               cluster_type : condor
      cluster_status_update : (600, 30)
           cluster_nb_retry : 1
         cluster_local_path : None
         cluster_retry_wait : 300
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.0 2021-03-30 *
#* *
#* 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 low_mem_multicore_nlo_generation False
set complex_mass_scheme False
set include_lepton_initiated_processes False
set gauge unitary
set loop_optimized_output True
set loop_color_flows False
set max_npoint_for_channel 0
set default_unset_couplings 99
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
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 SMEFTsim_topU3l_alphaScheme_UFO-SMlimit_massless
import model SMEFTsim_topU3l_alphaScheme_UFO-SMlimit_massless
generate p p > t t~ NP=1 SMHLOOP=0
output test_2
######################################################################
## 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 MASS
###################################
Block mass
    5 4.180000e+00 # MB
    6 1.727600e+02 # MT
   23 9.118760e+01 # MZ
   25 1.250900e+02 # MH
## 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.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  15 0.000000e+00 # ta- : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
  24 7.983134e+01 # w+ : dMW*(1 - linearPropCorrections) + MWsm
  9000005 9.118760e+01 # z1 : MZ
  9000006 7.983134e+01 # w1+ : MWsm
  9000007 1.727600e+02 # t1 : MT
  9000008 1.250900e+02 # h1 : MH

###################################
## INFORMATION FOR SMEFT
###################################
Block smeft
    1 1.100000e+00 # cG

###################################
## INFORMATION FOR SMEFTCUTOFF
###################################
Block smeftcutoff
    1 1.000000e+03 # LambdaSMEFT

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 7.815553e-03 # aEW
    2 1.166379e-05 # Gf
    3 1.179000e-01 # aS (Note that Parameter not used if you use a PDF set)

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    5 4.180000e+00 # ymb
    6 1.727600e+02 # ymt

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.330000e+00 # WT
DECAY 23 2.495200e+00 # WZ
DECAY 24 2.085000e+00 # WW
DECAY 25 4.070000e-03 # WH
## 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.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
DECAY 9000005 2.495200e+00 # z1 : WZ
DECAY 9000006 2.085000e+00 # w1+ : WW
DECAY 9000007 1.330000e+00 # t1 : WT
DECAY 9000008 4.070000e-03 # h1 : WH
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 9000005 # z1
        1 0 # 3 times electric charge
        2 3 # 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 9000006 # w1+
        1 3 # 3 times electric charge
        2 3 # number of spin states (2S+1)
        3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 1 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9000007 # t1
        1 2 # 3 times electric charge
        2 2 # number of spin states (2S+1)
        3 3 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 1 # Particle/Antiparticle distinction (0=own anti)
Block QNUMBERS 9000008 # h1
        1 0 # 3 times electric charge
        2 1 # 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 MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a '# ' are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# To display more options, you can type the command: *
# update full_run_card *
#*********************************************************************
#
#*********************************************************************
# Tag name for the run (one word) *
#*********************************************************************
  tag_1 = run_tag ! name of the run
#*********************************************************************
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#*********************************************************************
  10000 = nevents ! Number of unweighted events requested
  0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# Collider type and energy *
# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, *
# 3=photon from electron, 4=photon from muon *
#*********************************************************************
     1 = lpp1 ! beam 1 type
     1 = lpp2 ! beam 2 type
     6500.0 = ebeam1 ! beam 1 total energy in GeV
     6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"

#*********************************************************************
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#*********************************************************************
     nn23lo1 = pdlabel ! PDF set
     230000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
# To see heavy ion options: type "update ion_pdf"
#*********************************************************************
# Renormalization and factorization scales *
#*********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.188 = scale ! fixed ren scale
 91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1
 91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2
 3 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
 1.0 = scalefact ! scale factor for event-by-event scales
#*********************************************************************
# Type and output format
#*********************************************************************
  False = gridpack !True = setting up the grid pack
  -1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
  average = event_norm ! average/sum. Normalization of the weight in the LHEF
# To see MLM/CKKW merging options: type "update MLM" or "update CKKW"

#*********************************************************************
#
#*********************************************************************
# Phase-Space Optimization strategy (basic options)
#*********************************************************************
   0 = nhel ! using helicities importance sampling or not.
                             ! 0: sum over helicity, 1: importance sampling
   1 = sde_strategy ! default integration strategy (hep-ph/2021.xxxxx)
                             ! 1 is old strategy (using amp square)
        ! 2 is new strategy (using only the denominator)
# To see advanced option for Phase-Space optimization: type "update psoptim"
#*********************************************************************
# Generation bias, check the wiki page below for more information: *
# 'cp3.irmp.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
#*********************************************************************
 None = bias_module ! Bias type of bias, [None, ptj_bias, -custom_folder-]
 {} = bias_parameters ! Specifies the parameters of the module.
#
#*******************************
# Parton level cuts definition *
#*******************************
#
#
#*********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma) ! Define on/off-shell for "$" and decay
#*********************************************************************
  15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
 {} = pt_min_pdg ! pt cut for other particles (use pdg code). Applied on particle and anti-particle
 {} = pt_max_pdg ! pt cut for other particles (syntax e.g. {6: 100, 25: 50})
#
# For display option for energy cut in the partonic center of mass frame type 'update ecut'
#
#*********************************************************************
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#*********************************************************************
 {} = eta_min_pdg ! rap cut for other particles (use pdg code). Applied on particle and anti-particle
 {} = eta_max_pdg ! rap cut for other particles (syntax e.g. {6: 2.5, 23: 5})
#*********************************************************************
# Minimum and maximum DeltaR distance *
#*********************************************************************
#*********************************************************************
# Minimum and maximum invariant mass for pairs *
#*********************************************************************
 {} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
 {'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
                       ! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
#*********************************************************************
# Inclusive cuts *
#*********************************************************************
 0.0 = ptheavy ! minimum pt for at least one heavy final state
#*********************************************************************
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#*********************************************************************
 4 = maxjetflavor ! Maximum jet pdg code
#*********************************************************************
#
#*********************************************************************
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#*********************************************************************
   True = use_syst ! Enable systematics studies
#
systematics = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
# Syscalc is deprecated but to see the associate options type'update syscalc'

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

The compilation error seems to be due to this:
P1_gg_ttx/matrix.f:251:40:
           CALL VVV10P0_1(W(1,1),W(1,2),GC_31,ZERO,ZERO,W(1,5))
                                            1
    Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type

So it seems to indicate some corruption of the file
coupl.inc

But no idea why.
The two potential culprint
- a local disk-space issue
- an issue with multiple loading for the re-weighting. Did you reweight by another model than the one you use to generate events.

Cheers,

Olivier

Revision history for this message
Yuekai Song (songyk) said :
#4

Dear Olivier,
Yes, actually, if I reweighted an output for a second time without changing the model or just reweighted it for the first time but with changing the model, the errors appeared.
By changing model, I used sm as original model, and wrote in the reweight_card:

change model SMEFTsim_topU3l_alphaScheme_UFO
change process p p > t t~ NP=1 SMHLOOP=0
launch
/home/syk/Syk/MG/models/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat

and the errors were the same, but if I wrote:

change model SMEFTsim_topU3l_alphaScheme_UFO-massless # this means using the restrict_massless.dat at first
change process p p > t t~ NP=1 SMHLOOP=0
launch
/home/syk/Syk/MG/models/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat

the errors were:
generate_events run_01
Traceback (most recent call last):
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/madevent_interface.py", line 2474, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/home/syk/Syk/MG/madgraph/interface/common_run_interface.py", line 7114, in new_fct
    original_fct(obj, *args, **opts)
  File "/home/syk/Syk/MG/madgraph/interface/madevent_interface.py", line 2572, in run_generate_events
    self.exec_cmd('reweight -from_cards', postcmd=False)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1573, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/common_run_interface.py", line 2184, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1692, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1573, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/syk/Syk/MG/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/home/syk/Syk/MG/madgraph/interface/reweight_interface.py", line 564, in do_launch
    weight = self.calculate_weight(event)
  File "/home/syk/Syk/MG/madgraph/interface/reweight_interface.py", line 1013, in calculate_weight
    jac, new_event = self.change_kinematics(event)
  File "/home/syk/Syk/MG/madgraph/interface/reweight_interface.py", line 982, in change_kinematics
    raise Exception
Exception

I don't know why and how to fix it, could you help me?

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

The second error means that you do not have the same benchmark between the original model and the one by which you try to reweight.

But let's try to arrive to one script that I can try to check if I reproduce your issue or not rather than going to all direction.

For the moment I have try the following script:

import model SMEFTsim_topU3l_alphaScheme_UFO-SMlimit_massless
generate p p > t t~ NP=1 SMHLOOP=0
output
launch
reweight=ON
edit reweight --after_line=banner change model SMEFTsim_topU3l_alphaScheme_UFO
edit reweight ~/Desktop/UFOMODEL/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat
launch -i
reweight run_01

and it indeed crash with
            CALL VVV7P0_1(W(1,1),W(1,2),GC_7,ZERO,ZERO,W(1,5))
                                           1
     Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
     P1_gg_ttx/matrix.f:269:20:

So I will focus on that one first.

Cheers,

Olivier

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#6

Ok, I think I understand what's going on.

Technically you are loading twice the same model (but with different restriction).
The code interprets that as the same model and therefore the memory space of the two model are actually overlapping and the restriction of one impact the second leading to a mess.

Fixing such type of issue will be a huge work and I do not have time for that for the moment.
my advise is therefore to have two different copy of the model on disk such that this is two different (even if identical) model.

Cheers,

Olivier

Revision history for this message
Yuekai Song (songyk) said :
#7

Dear Oliviel,
Sorry, I don't know what you mean.
Do you mean that my errors appearing in the reweight for a second time is due to twice importing the same model? And the reason for errors appearing when I change the model in the reweight_card is the same?
But what should I do to have two different copies of the model? If I just copy the model, the file name of the new copy must be different and how could this prevent the overlapping?

Thank you for your answer!

Yours,
Yuekai

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#8

>
> But what should I do to have two different copies of the model? If I just copy the model, the file name of the new copy must be different and how could this prevent the overlapping?
>

Yes that should do the trick and this will avoid the overlap.

Cheers,

Olivier

> Thank you for your answer!
>
> Yours,
> Yuekai
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#9

Actually I was wrong, this does not help.
Looks like the following patch was the introducing the issue:
https://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/2.9.3/revision/298#madgraph/interface/reweight_interface.py

But I have not yet found what is the correct solution (reverting those changes will work but create issue for other type of re-weighing)

Cheers,

Olivier

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10
Revision history for this message
Yuekai Song (songyk) said :
#11

Dear Olivier,
I'm sorry. I have used your patch, but as long as I try to reweight the same output for a second time, errors appear.

yours
Yuekai

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#12

Can you provide a script like the one above?

Revision history for this message
Yuekai Song (songyk) said :
#13

Sorry, I haven't learned to write a script to run MadGraph yet. I used commands like:

import model SMEFTsim_topU3l_alphaScheme_UFO-massless
generate p p > t t~ NP=1 SMHLOOP=0
output
launch
reweight=ON
edit para_card /home/syk/Syk/MG/models/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat
edit reweight --after_line=banner
                                       launch rwgt_name=op1
                                       set smeft 1 1.10000e+00
launch

and it ran normally
But when I get into the output/bin and use:
./madevent reweight run_01 -f
errors that I mentioned in #2 appeared.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#14

So I do not reproduce that issue. Since your script is technically wrong I can not be sure that I have it correct.
so i have change it to

import model SMEFTsim_topU3l_alphaScheme_UFO-massless
generate p p > t t~ NP=1 SMHLOOP=0
output PROC_TEST
launch
reweight=ON
~/Desktop/UFOMODEL/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat
edit reweight --replace_line="launch" launch rwgt_name=op1
edit reweight set smeft 1 1.10000e+00
done
shell ./PROC_TEST/bin/madevent reweight run_01 -f

Can you run it (./bin/mg5_aMC PATH_TO_SCRIPT) and check if you have the issue or not for that script/
You only need to update the path to the param_card that you use.

Can you also check that the reweight_card written by the above script indeed correspond to the one that you are using for testing.
(In this one you keep the original model actually, so this is confusing since this does not correspond to your previous message).

Cheers,

Olivier

Revision history for this message
Yuekai Song (songyk) said :
#15

Dear Olivier,
Thank you very much, I tried to write a script:

import model SMEFTsim_topU3l_alphaScheme_UFO-massless
generate p p > t t~ NP=1 SMHLOOP=0
output PROC_TEST
launch
reweight=ON
/home/syk/Syk/MG/models/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat
edit reweight --replace_line="launch" launch rwgt_name=op1
edit reweight set smeft 1 1.10000e+00
done
shell ./PROC_TEST/bin/madevent reweight run_01 -f

when it turned to the second reweight, the option: "Do you want to edit a card (press enter to bypass editing)?" appeared, so I entered "0", and errors appeared.
I checked the reweight card, it really was edited to the one I wanted:
"launch" was replaced by " launch rwgt_name=op1", and "set smeft 1 1.10000e+00" was added in the last line.
The errors are still:

compile options: '-I/tmp/tmp8xxpw300/src.linux-x86_64-3.8 -I/home/syk/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/python3/include/python3.8 -c'
    P1_gg_ttx/matrix.f:266:46:

           CALL FFS2_0(W(1,4),W(1,3),W(1,5),GC_1024,AMP(5))
                                                  1
    Error: Symbol ‘gc_1024’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:256:40:

           CALL VVV10P0_1(W(1,1),W(1,2),GC_31,ZERO,ZERO,W(1,5))
                                            1
    Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:264:38:

           CALL VVS6_3(W(1,1),W(1,2),GC_348,MDL_MH,MDL_WH,W(1,5))
                                          1
    Error: Symbol ‘gc_348’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:255:53:

           CALL FFVV3_0(W(1,4),W(1,3),W(1,1),W(1,2),GC_387,AMP(1))
                                                         1
    Error: Symbol ‘gc_387’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:259:38:

           CALL VVV7P0_1(W(1,1),W(1,2),GC_7,ZERO,ZERO,W(1,5))
                                          1
    Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
    P1_gg_ttx/matrix.f:295:20:

             M4_MATRIX = M4_MATRIX+ZTEMP*DCONJG(JAMP(I))

and,

error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/tmp/tmpz1agko6h/src.linux-x86_64-3.8 -I/home/syk/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/python3/include/python3.8 -c -c P1_gg_ttx/matrix.f -o /tmp/tmpz1agko6h/P1_gg_ttx/matrix.o" failed with exit status 1

I'm sure that I have replaced "shutil.rmtree(pjoin(path_me,data['paths'][0]))" in Line 1646 of reweight_interface.py by "shutil.rmtree(pdir)". I'm very confused too.

Really thank you for your nice help!!

Yours
Yuekai

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#16

If you apply the patch by hand this is likely the reason that you do not apply all changes as needed (like put tab instead of space for the tabulation).
Please use the 'patch" unix command with the patch script available at the above link, or download the patched MG5aMC version.

Cheers,

Olivier

> On 2 Jun 2021, at 04:50, Yuekai Song <email address hidden> wrote:
>
> Question #697325 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/697325
>
> Yuekai Song posted a new comment:
> Dear Olivier,
> Thank you very much, I tried to write a script:
>
> import model SMEFTsim_topU3l_alphaScheme_UFO-massless
> generate p p > t t~ NP=1 SMHLOOP=0
> output PROC_TEST
> launch
> reweight=ON
> /home/syk/Syk/MG/models/SMEFTsim_topU3l_alphaScheme_UFO/param_card_massless.dat
> edit reweight --replace_line="launch" launch rwgt_name=op1
> edit reweight set smeft 1 1.10000e+00
> done
> shell ./PROC_TEST/bin/madevent reweight run_01 -f
>
> when it turned to the second reweight, the option: "Do you want to edit a card (press enter to bypass editing)?" appeared, so I entered "0", and errors appeared.
> I checked the reweight card, it really was edited to the one I wanted:
> "launch" was replaced by " launch rwgt_name=op1", and "set smeft 1 1.10000e+00" was added in the last line.
> The errors are still:
>
> compile options: '-I/tmp/tmp8xxpw300/src.linux-x86_64-3.8 -I/home/syk/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/python3/include/python3.8 -c'
> P1_gg_ttx/matrix.f:266:46:
>
> CALL FFS2_0(W(1,4),W(1,3),W(1,5),GC_1024,AMP(5))
> 1
> Error: Symbol ‘gc_1024’ at (1) has no IMPLICIT type
> P1_gg_ttx/matrix.f:256:40:
>
> CALL VVV10P0_1(W(1,1),W(1,2),GC_31,ZERO,ZERO,W(1,5))
> 1
> Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
> P1_gg_ttx/matrix.f:264:38:
>
> CALL VVS6_3(W(1,1),W(1,2),GC_348,MDL_MH,MDL_WH,W(1,5))
> 1
> Error: Symbol ‘gc_348’ at (1) has no IMPLICIT type
> P1_gg_ttx/matrix.f:255:53:
>
> CALL FFVV3_0(W(1,4),W(1,3),W(1,1),W(1,2),GC_387,AMP(1))
> 1
> Error: Symbol ‘gc_387’ at (1) has no IMPLICIT type
> P1_gg_ttx/matrix.f:259:38:
>
> CALL VVV7P0_1(W(1,1),W(1,2),GC_7,ZERO,ZERO,W(1,5))
> 1
> Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
> P1_gg_ttx/matrix.f:295:20:
>
> M4_MATRIX = M4_MATRIX+ZTEMP*DCONJG(JAMP(I))
>
> and,
>
> error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/tmp/tmpz1agko6h/src.linux-x86_64-3.8 -I/home/syk/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/python3/include/python3.8 -c -c P1_gg_ttx/matrix.f -o /tmp/tmpz1agko6h/P1_gg_ttx/matrix.o" failed with exit status 1
>
> I'm sure that I have replaced "shutil.rmtree(pjoin(path_me,data['paths'][0]))" in Line 1646 of reweight_interface.py by "shutil.rmtree(pdir)". I'm very confused too.
>
> Really thank you for your nice help!!
>
> Yours
> Yuekai
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Yuekai Song (songyk) said :
#17

Hi, Olivier
It finally works!
Really thank for your kind help!!

yours
Yuekai

Revision history for this message
Yuekai Song (songyk) said :
#18

Thanks Olivier Mattelaer, that solved my question.