Error coming when reweight is set to ON.
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/dhruvansh
If you need help with this issue please contact us on https:/
str : A compilation Error occurs when trying to compile /home/dhruvansh
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-
gfortran -w -fPIC -ffixed-
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_
creating /tmp/tmpt32es5_
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/tmprcvue6w
creating /tmp/tmprcvue6w
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_
creating /tmp/tmp0gsv_
Reading fortran codes...
Reading file 'P1_uux_
Line #59 in P1_uux_
determine
Line #81 in P1_uux_
analyzeline: implied-DO list "(beams_
Line #97 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
Line #98 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
Line #99 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
Line #100 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
Line #101 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
Line #102 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
Line #103 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
Line #104 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
Line #105 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
Line #106 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
Line #107 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
Line #108 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
Line #109 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
Line #110 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
Line #111 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
Line #112 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
Line #121 in P1_uux_
analyzeline: implied-DO list "((polarization
Reading file 'coupl.inc' (format:fix)
Line #246 in P1_uux_
analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
Line #252 in P1_uux_
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_
analyzeline: No name/args pattern found for line.
Post-
Block: P1_uux_ttx2py
Block: m1_smatrixhel
Block: m1_smatrix
Block: m1_matrix
Block: m1_get_value
Block: m1_initialisemodel
Block: m1_is_born_
Post-
Building modules...
Building module "P1_uux_ttx2py"...
Constructing wrapper function "m1_smatrixhel"...
ans = m1_smatrixhel(
Constructing wrapper function "m1_smatrix"...
ans = m1_smatrix(p)
Creating wrapper for Fortran function "m1_matrix"
Constructing wrapper function "m1_matrix"...
m1_matrix = m1_matrix(
Constructing wrapper function "m1_get_value"...
ans = m1_get_
Constructing wrapper function "m1_initialisem
Creating wrapper for Fortran function "m1_is_
Constructing wrapper function "m1_is_
Constructing COMMON block support for "m1_heluserchoi
userhel
Constructing COMMON block support for "m1_process_
nhel
Constructing COMMON block support for "m1_helreset"...
helreset
Constructing COMMON block support for "m1_born_
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"...
Constructing COMMON block support for "widths"...
Constructing COMMON block support for "couplings"...
gc_11
Wrote C/API module "P1_uux_ttx2py" to file "/tmp/tmpt32es5
Fortran 77 wrappers are saved to "/tmp/tmpt32es5
adding '/tmp/tmpt32es5
adding '/tmp/tmpt32es5
copying /home/dhruvansh
copying /home/dhruvansh
adding '/tmp/tmpt32es5
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
Reading fortran codes...
Reading file 'P1_gg_
Line #56 in P1_gg_ttx/
determine
Line #78 in P1_gg_ttx/
analyzeline: implied-DO list "(beams_
Line #94 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
Line #95 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
Line #96 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
Line #97 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
Line #98 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
Line #99 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
Line #100 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
Line #101 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
Line #102 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
Line #103 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
Line #104 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
Line #105 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
Line #106 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
Line #107 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
Line #108 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
Line #109 in P1_gg_ttx/
analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
Line #118 in P1_gg_ttx/
analyzeline: implied-DO list "((polarization
Reading file 'coupl.inc' (format:fix)
Line #240 in P1_gg_ttx/
analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
Line #246 in P1_gg_ttx/
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/
analyzeline: No name/args pattern found for line.
Post-
Block: P1_gg_ttx2py
Block: m0_smatrixhel
Block: m0_smatrix
Block: m0_matrix
Block: m0_get_value
Block: m0_initialisemodel
Block: m0_is_born_
Post-
Building modules...
Building module "P1_gg_ttx2py"...
Constructing wrapper function "m0_smatrixhel"...
ans = m0_smatrixhel(
Constructing wrapper function "m0_smatrix"...
ans = m0_smatrix(p)
Creating wrapper for Fortran function "m0_matrix"
Constructing wrapper function "m0_matrix"...
m0_matrix = m0_matrix(
Constructing wrapper function "m0_get_value"...
ans = m0_get_
Constructing wrapper function "m0_initialisem
Creating wrapper for Fortran function "m0_is_
Constructing wrapper function "m0_is_
Constructing COMMON block support for "m0_heluserchoi
userhel
Constructing COMMON block support for "m0_process_
nhel
Constructing COMMON block support for "m0_helreset"...
helreset
Constructing COMMON block support for "m0_born_
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"...
Constructing COMMON block support for "widths"...
Constructing COMMON block support for "couplings"...
gc_11
Wrote C/API module "P1_gg_ttx2py" to file "/tmp/tmprcvue6
Fortran 77 wrappers are saved to "/tmp/tmprcvue6
adding '/tmp/tmprcvue6
adding '/tmp/tmprcvue6
copying /home/dhruvansh
copying /home/dhruvansh
adding '/tmp/tmprcvue6
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
get_
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/
Reading file '../Source/
Post-
Block: all_matrix2py
Block: smatrixhel
Block: initialise
Block: change_para
Block: update_all_coup
Block: get_pdg_order
Block: get_prefix
Post-
Building modules...
Building module "all_matrix2py"...
Constructing wrapper function "smatrixhel"...
ans = smatrixhel(
Constructing wrapper function "initialise"...
Constructing wrapper function "change_para"...
Constructing wrapper function "update_
Constructing wrapper function "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"...
Constructing COMMON block support for "widths"...
Constructing COMMON block support for "couplings"...
gc_11
Constructing COMMON block support for "m1_helreset"...
Constructing COMMON block support for "params_r"...
Constructing COMMON block support for "params_c"...
Wrote C/API module "all_matrix2py" to file "/tmp/tmp0gsv_
Fortran 77 wrappers are saved to "/tmp/tmp0gsv_
adding '/tmp/tmp0gsv_
adding '/tmp/tmp0gsv_
copying /home/dhruvansh
copying /home/dhruvansh
adding '/tmp/tmp0gsv_
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-
creating /tmp/tmprcvue6w
creating /tmp/tmprcvue6w
creating /tmp/tmprcvue6w
compile options: '-DNPY_
get_
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
x86_
x86_
customize Gnu95FCompiler using build_ext
building 'P1_uux_ttx2py' extension
compiling C sources
C compiler: x86_64-
creating /tmp/tmpt32es5_
creating /tmp/tmpt32es5_
creating /tmp/tmpt32es5_
compile options: '-DNPY_
customize Gnu95FCompiler
x86_
x86_
customize Gnu95FCompiler using build_ext
building 'all_matrix2py' extension
compiling C sources
C compiler: x86_64-
creating /tmp/tmp0gsv_
creating /tmp/tmp0gsv_
creating /tmp/tmp0gsv_
compile options: '-DNPY_
x86_
x86_
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
/tmp/
169 | static int f2py_size(
| ^~~~~~~~~
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
In file included from /home/dhruvansh
/home/
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
/tmp/
169 | static int f2py_size(
| ^~~~~~~~~
/tmp/
142 | static int f2py_size(
| ^~~~~~~~~
compiling Fortran sources
Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-
creating /tmp/tmprcvue6w
compile options: '-I/tmp/
gfortran:f77: /tmp/tmprcvue6w
gfortran:f77: P1_gg_ttx/matrix.f
P1_
251 | CALL VVV1P0_
| 1
Error: Symbol ‘gc_10’ at (1) has no IMPLICIT type; did you mean ‘gc_11’?
P1_
269 | M0_MATRIX = M0_MATRIX+
| 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-
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-
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-
creating /tmp/tmpt32es5_
compile options: '-I/tmp/
gfortran:f77: P1_uux_ttx/matrix.f
gfortran:f77: /tmp/tmpt32es5_
P1_
269 | M1_MATRIX = M1_MATRIX+
| 1
Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
P1_
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-
Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-
Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-
compile options: '-I/tmp/
gfortran:f77: all_matrix.f
gfortran:f77: /tmp/tmp0gsv_
all_
6 | SUBROUTINE SMATRIXHEL(PDGS, PROCID, NPDG, P, ALPHAS, SCALE2,
| 1
Warning: Unused dummy argument ‘npdg’ at (1) [-Wunused-
all_
6 | SUBROUTINE SMATRIXHEL(PDGS, PROCID, NPDG, P, ALPHAS, SCALE2,
| 1
Warning: Unused dummy argument ‘scale2’ at (1) [-Wunused-
/usr/
/usr/
updatevars
updatevars:p: attempt to change 'dimension(
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:/
If you think that this is a bug, you can report this at https:/
```
Please help.
Question information
- Language:
- English Edit question
- Status:
- Answered
- 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.