Error coming when reweight is set to ON.

Asked by Dhruvanshu Parmar

I am new to Madgraph so was just basically following the tutorials. I tried the basic process p p > t t~ process, and tried generating events without parton showers. However, when I launch the output file, I am getting the following error which I am unable to resolve:
```
Error detected in "generate_events run_03"
write debug file /home/dhruvanshu/MG5_aMC_v3_1_1/FIRST_RUN/run_03_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /home/dhruvanshu/MG5_aMC_v3_1_1/FIRST_RUN/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_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 all_matrix.o all_matrix.f
     ar cru ../lib//libmatrix.a P1_uux_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_uux_ttx2py" sources
     f2py options: []
     f2py:> /tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.c
     creating /tmp/tmpt32es5_y/src.linux-x86_64-3.8
     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/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2pymodule.c
     creating /tmp/tmprcvue6wn/src.linux-x86_64-3.8
     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/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.c
     creating /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8
     Reading fortran codes...
      Reading file 'P1_uux_ttx/matrix.f' (format:fix,strict)
     Line #59 in P1_uux_ttx/matrix.f:" PARAMETER (NPOLENTRIES=(NEXTERNAL+1)*6)"
      determineexprtype: could not determine expressions ('(nexternal+1)*6') type.
     Line #81 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 #97 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 #98 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 #99 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 #100 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 #101 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 #102 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 #103 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 #104 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 #105 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 #106 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 #107 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 #108 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 #109 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 #110 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 #111 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 #112 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 #121 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 #246 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 #252 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 #312 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_mw,mdl_mb,mdl_mz,mdl_mt,mdl_mh,mdl_mta
       Constructing COMMON block support for "widths"...
         mdl_wh,mdl_ww,mdl_wt,mdl_wz
       Constructing COMMON block support for "couplings"...
         gc_11
      Wrote C/API module "P1_uux_ttx2py" to file "/tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.c"
      Fortran 77 wrappers are saved to "/tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2py-f2pywrappers.f"
       adding '/tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.c' to sources.
       adding '/tmp/tmpt32es5_y/src.linux-x86_64-3.8' to include_dirs.
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpt32es5_y/src.linux-x86_64-3.8
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpt32es5_y/src.linux-x86_64-3.8
       adding '/tmp/tmpt32es5_y/src.linux-x86_64-3.8/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 '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 #312 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_mw,mdl_mb,mdl_mz,mdl_mt,mdl_mh,mdl_mta
       Constructing COMMON block support for "widths"...
         mdl_wh,mdl_ww,mdl_wt,mdl_wz
       Constructing COMMON block support for "couplings"...
         gc_11
      Wrote C/API module "P1_gg_ttx2py" to file "/tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2pymodule.c"
      Fortran 77 wrappers are saved to "/tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2py-f2pywrappers.f"
       adding '/tmp/tmprcvue6wn/src.linux-x86_64-3.8/fortranobject.c' to sources.
       adding '/tmp/tmprcvue6wn/src.linux-x86_64-3.8' to include_dirs.
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmprcvue6wn/src.linux-x86_64-3.8
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmprcvue6wn/src.linux-x86_64-3.8
       adding '/tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2py-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
     customize Gnu95FCompiler
     Found executable /usr/bin/gfortran
     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_mw,mdl_mb,mdl_mz,mdl_mt,mdl_mh,mdl_mta
       Constructing COMMON block support for "widths"...
         mdl_wh,mdl_ww,mdl_wt,mdl_wz
       Constructing COMMON block support for "couplings"...
         gc_11
       Constructing COMMON block support for "m1_helreset"...
         m1_helreset
       Constructing COMMON block support for "params_r"...
         mdl_sqrt__as,mdl_g__exp__2,mdl_conjg__ckm3x3,mdl_ckm3x3,mdl_conjg__ckm1x1,mdl_mz__exp__2,mdl_mz__exp__4,mdl_sqrt__2,mdl_mh__exp__2,mdl_aew,mdl_sqrt__aew,mdl_ee,mdl_mw__exp__2,mdl_sw2,mdl_cw,mdl_sqrt__sw2,mdl_sw,mdl_g1,mdl_gw,mdl_vev,mdl_vev__exp__2,mdl_lam,mdl_yb,mdl_yt,mdl_ytau,mdl_muh,mdl_ee__exp__2,mdl_sw__exp__2,mdl_cw__exp__2,aewm1,mdl_gf,as,mdl_ymb,mdl_ymt,mdl_ymtau
       Constructing COMMON block support for "params_c"...
         mdl_complexi,mdl_i1x33,mdl_i2x33,mdl_i3x33,mdl_i4x33
      Wrote C/API module "all_matrix2py" to file "/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.c"
      Fortran 77 wrappers are saved to "/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2py-f2pywrappers.f"
       adding '/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.c' to sources.
       adding '/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8' to include_dirs.
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8
     copying /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8
       adding '/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2py-f2pywrappers.f' to sources.
     build_src: building npy-pkg config files
     running build_ext
     customize UnixCCompiler
     customize UnixCCompiler using build_ext
     customize Gnu95FCompiler using build_ext
     customize Gnu95FCompiler
     building 'P1_gg_ttx2py' extension
     compiling C sources
     C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

     creating /tmp/tmprcvue6wn/tmp
     creating /tmp/tmprcvue6wn/tmp/tmprcvue6wn
     creating /tmp/tmprcvue6wn/tmp/tmprcvue6wn/src.linux-x86_64-3.8
     compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmprcvue6wn/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     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
     x86_64-linux-gnu-gcc: /tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2pymodule.c
     x86_64-linux-gnu-gcc: /tmp/tmprcvue6wn/src.linux-x86_64-3.8/fortranobject.c
     customize Gnu95FCompiler using build_ext
     building 'P1_uux_ttx2py' extension
     compiling C sources
     C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

     creating /tmp/tmpt32es5_y/tmp
     creating /tmp/tmpt32es5_y/tmp/tmpt32es5_y
     creating /tmp/tmpt32es5_y/tmp/tmpt32es5_y/src.linux-x86_64-3.8
     compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmpt32es5_y/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     customize Gnu95FCompiler
     x86_64-linux-gnu-gcc: /tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.c
     x86_64-linux-gnu-gcc: /tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.c
     customize Gnu95FCompiler using build_ext
     building 'all_matrix2py' extension
     compiling C sources
     C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

     creating /tmp/tmp0gsv_tlf/tmp
     creating /tmp/tmp0gsv_tlf/tmp/tmp0gsv_tlf
     creating /tmp/tmp0gsv_tlf/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8
     compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     x86_64-linux-gnu-gcc: /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.c
     x86_64-linux-gnu-gcc: /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.c
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmprcvue6wn/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmprcvue6wn/src.linux-x86_64-3.8/fortranobject.c:2:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmprcvue6wn/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2pymodule.c:16:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     /tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2pymodule.c:169:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
       169 | static int f2py_size(PyArrayObject* var, ...)
           | ^~~~~~~~~
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.c:2:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.c:16:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.c:16:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     In file included from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                      from /home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                      from /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.h:13,
                      from /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.c:2:
     /home/dhruvanshu/.local/lib/python3.8/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]
        17 | #warning "Using deprecated NumPy API, disable it with " \
           | ^~~~~~~
     /tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.c:169:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
       169 | static int f2py_size(PyArrayObject* var, ...)
           | ^~~~~~~~~
     /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.c:142:12: warning: ‘f2py_size’ defined but not used [-Wunused-function]
       142 | static int f2py_size(PyArrayObject* var, ...)
           | ^~~~~~~~~
     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/tmprcvue6wn/P1_gg_ttx
     compile options: '-I/tmp/tmprcvue6wn/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     gfortran:f77: /tmp/tmprcvue6wn/src.linux-x86_64-3.8/P1_gg_ttx2py-f2pywrappers.f
     gfortran:f77: P1_gg_ttx/matrix.f
     P1_gg_ttx/matrix.f:251:39:

       251 | CALL VVV1P0_1(W(1,1),W(1,2),GC_10,ZERO,ZERO,W(1,5))
           | 1
     Error: Symbol ‘gc_10’ at (1) has no IMPLICIT type; did you mean ‘gc_11’?
     P1_gg_ttx/matrix.f:269:20:

       269 | 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]
     error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/tmp/tmprcvue6wn/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c -c P1_gg_ttx/matrix.f -o /tmp/tmprcvue6wn/P1_gg_ttx/matrix.o" failed with exit status 1
     make: *** [makefile:17: P1_gg_ttx2py.so] Error 1
     make: *** Waiting for unfinished jobs....
     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/tmpt32es5_y/P1_uux_ttx
     compile options: '-I/tmp/tmpt32es5_y/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     gfortran:f77: P1_uux_ttx/matrix.f
     gfortran:f77: /tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2py-f2pywrappers.f
     P1_uux_ttx/matrix.f:269:20:

       269 | 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:232:56:

       232 | COMPLEX*16 AMP(NGRAPHS), JAMP(NCOLOR), TMP_JAMP(0)
           | 1
     Warning: Unused variable ‘tmp_jamp’ declared at (1) [-Wunused-variable]
     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/tmp0gsv_tlf/src.linux-x86_64-3.8 -I/home/dhruvanshu/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
     gfortran:f77: all_matrix.f
     gfortran:f77: /tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2py-f2pywrappers.f
     all_matrix.f:6:46:

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

         6 | SUBROUTINE SMATRIXHEL(PDGS, PROCID, NPDG, P, ALPHAS, SCALE2,
           | 1
     Warning: Unused dummy argument ‘scale2’ at (1) [-Wunused-dummy-argument]
     /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmp0gsv_tlf/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2pymodule.o /tmp/tmp0gsv_tlf/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/fortranobject.o /tmp/tmp0gsv_tlf/all_matrix.o /tmp/tmp0gsv_tlf/tmp/tmp0gsv_tlf/src.linux-x86_64-3.8/all_matrix2py-f2pywrappers.o -L../lib/ -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -lmatrix -ldhelas -lmodel -lgfortran -o ./all_matrix2py.cpython-38-x86_64-linux-gnu.so
     /usr/bin/gfortran -Wall -g -Wall -g -shared /tmp/tmpt32es5_y/tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2pymodule.o /tmp/tmpt32es5_y/tmp/tmpt32es5_y/src.linux-x86_64-3.8/fortranobject.o /tmp/tmpt32es5_y/P1_uux_ttx/matrix.o /tmp/tmpt32es5_y/tmp/tmpt32es5_y/src.linux-x86_64-3.8/P1_uux_ttx2py-f2pywrappers.o -L../lib/ -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -ldhelas -lmodel -lgfortran -o ./P1_uux_ttx2py.cpython-38-x86_64-linux-gnu.so
     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/tmp0gsv_tlf
     Removing build directory /tmp/tmpt32es5_y

 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 help.

Question information

Language:
English Edit question
Status:
Open
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Dhruvanshu Parmar for more information if necessary.

To post a message you must log in.