reweight via MadGraph3.1.0 and errors
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
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#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
|
#2 |
The log of the error is here:
#******
#* MadGraph5_
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.0 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#******
reweight run_01 -f
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
reweight_
File "/home/
self.
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
out = f(self, *args, **opt)
File "/home/
self.compile()
File "/home/
misc.
File "/home/
raise MadGraph5Error(
madgraph.
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-
gfortran -w -fPIC -ffixed-
gfortran -w -fPIC -ffixed-
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/tmps4b81sh
creating /tmp/tmps4b81sh
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/tmpn3g3a22
creating /tmp/tmpn3g3a22
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/tmpeqsa64g
creating /tmp/tmpeqsa64g
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/tmpm86p6el
creating /tmp/tmpm86p6el
Reading fortran codes...
Reading file 'P1_gg_
Line #56 in P1_gg_ttx/
determinee
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 #315 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-processing (stage 2)...
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"...
Wrote C/API module "P1_gg_ttx2py" to file "/tmp/tmps4b81s
Fortran 77 wrappers are saved to "/tmp/tmps4b81s
adding '/tmp/tmps4b81s
adding '/tmp/tmps4b81s
copying /home/syk/
copying /home/syk/
adding '/tmp/tmps4b81s
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
Reading fortran codes...
Reading file 'P1_uux_
Line #57 in P1_uux_
determinee
Line #79 in P1_uux_
analyzeline: implied-DO list "(beams_
Line #95 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
Line #96 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
Line #97 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
Line #98 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
Line #99 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
Line #100 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
Line #101 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
Line #102 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
Line #103 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
Line #104 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
Line #105 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
Line #106 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
Line #107 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
Line #108 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
Line #109 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
Line #110 in P1_uux_
analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
Line #119 in P1_uux_
analyzeline: implied-DO list "((polarization
Reading file 'coupl.inc' (format:fix)
Line #242 in P1_uux_
analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
Line #248 in P1_uux_
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_
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-processing (stage 2)...
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"...
Wrote C/API module "P1_uux_ttx2py" to file "/tmp/tmpn3g3a2
Fortran 77 wrappers are saved to "/tmp/tmpn3g3a2
adding '/tmp/tmpn3g3a2
adding '/tmp/tmpn3g3a2
copying /home/syk/
copying /home/syk/
adding '/tmp/tmpn3g3a2
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/
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-processing (stage 2)...
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"...
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"...
Constructing COMMON block support for "widths"...
Constructing COMMON block support for "couplings"...
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"...
Constructing COMMON block support for "params_c"...
Wrote C/API module "all_matrix2py" to file "/tmp/tmpeqsa64
Fortran 77 wrappers are saved to "/tmp/tmpeqsa64
adding '/tmp/tmpeqsa64
adding '/tmp/tmpeqsa64
copying /home/syk/
copying /home/syk/
adding '/tmp/tmpeqsa64
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
Found executable /usr/bin/gfortran
get_
Reading fortran codes...
Reading file 'P1_ddx_
Line #57 in P1_ddx_
determinee
Line #79 in P1_ddx_
analyzeline: implied-DO list "(beams_
Line #95 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 1),i=1,4)" is not supported. Skipping.
Line #96 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 2),i=1,4)" is not supported. Skipping.
Line #97 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 3),i=1,4)" is not supported. Skipping.
Line #98 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 4),i=1,4)" is not supported. Skipping.
Line #99 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 5),i=1,4)" is not supported. Skipping.
Line #100 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 6),i=1,4)" is not supported. Skipping.
Line #101 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 7),i=1,4)" is not supported. Skipping.
Line #102 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 8),i=1,4)" is not supported. Skipping.
Line #103 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 9),i=1,4)" is not supported. Skipping.
Line #104 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 10),i=1,4)" is not supported. Skipping.
Line #105 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 11),i=1,4)" is not supported. Skipping.
Line #106 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 12),i=1,4)" is not supported. Skipping.
Line #107 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 13),i=1,4)" is not supported. Skipping.
Line #108 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 14),i=1,4)" is not supported. Skipping.
Line #109 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 15),i=1,4)" is not supported. Skipping.
Line #110 in P1_ddx_
analyzeline: implied-DO list "(nhel(i, 16),i=1,4)" is not supported. Skipping.
Line #119 in P1_ddx_
analyzeline: implied-DO list "((polarization
Reading file 'coupl.inc' (format:fix)
Line #242 in P1_ddx_
analyzeline: implied-DO list "(cf(i, 1),i= 1, 2)" is not supported. Skipping.
Line #248 in P1_ddx_
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_
analyzeline: No name/args pattern found for line.
Post-
Block: P1_ddx_ttx2py
Block: m2_smatrixhel
Block: m2_smatrix
Block: m2_matrix
Block: m2_get_value
Block: m2_initialisemodel
Block: m2_is_born_
Post-processing (stage 2)...
Building modules...
Building module "P1_ddx_ttx2py"...
Constructing wrapper function "m2_smatrixhel"...
ans = m2_smatrixhel(
Constructing wrapper function "m2_smatrix"...
ans = m2_smatrix(p)
Creating wrapper for Fortran function "m2_matrix"
Constructing wrapper function "m2_matrix"...
m2_matrix = m2_matrix(
Constructing wrapper function "m2_get_value"...
ans = m2_get_
Constructing wrapper function "m2_initialisem
Creating wrapper for Fortran function "m2_is_
Constructing wrapper function "m2_is_
Constructing COMMON block support for "m2_heluserchoi
userhel
Constructing COMMON block support for "m2_process_
nhel
Constructing COMMON block support for "m2_helreset"...
helreset
Constructing COMMON block support for "m2_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"...
Wrote C/API module "P1_ddx_ttx2py" to file "/tmp/tmpm86p6e
Fortran 77 wrappers are saved to "/tmp/tmpm86p6e
adding '/tmp/tmpm86p6e
adding '/tmp/tmpm86p6e
customize Gnu95FCompiler
copying /home/syk/
copying /home/syk/
adding '/tmp/tmpm86p6e
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_
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/tmpeqsa64g
creating /tmp/tmpeqsa64g
creating /tmp/tmpeqsa64g
compile options: '-DNPY_
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/tmpn3g3a22
creating /tmp/tmpn3g3a22
creating /tmp/tmpn3g3a22
compile options: '-DNPY_
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
gcc: /tmp/tmpeqsa64g
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/tmps4b81sh
creating /tmp/tmps4b81sh
creating /tmp/tmps4b81sh
compile options: '-DNPY_
gcc: /tmp/tmpeqsa64g
gcc: /tmp/tmpn3g3a22
gcc: /tmp/tmpn3g3a22
gcc: /tmp/tmps4b81sh
gcc: /tmp/tmps4b81sh
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/tmpm86p6el
creating /tmp/tmpm86p6el
creating /tmp/tmpm86p6el
compile options: '-DNPY_
gcc: /tmp/tmpm86p6el
gcc: /tmp/tmpm86p6el
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
/tmp/
static int f2py_size(
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
/tmp/
static int f2py_size(
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
/tmp/
static int f2py_size(
/tmp/
static int f2py_size(
In file included from /home/syk/
/home/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
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/tmpeqsa64g
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/tmpn3g3a22
compile options: '-I/tmp/
gfortran:f77: /tmp/tmpn3g3a22
gfortran:f77: P1_uux_ttx/matrix.f
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/tmps4b81sh
compile options: '-I/tmp/
gfortran:f77: /tmp/tmps4b81sh
gfortran:f77: P1_gg_ttx/matrix.f
all_
Warning: Unused dummy argument ‘npdg’ at (1) [-Wunused-
all_
Warning: Unused dummy argument ‘scale2’ at (1) [-Wunused-
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/tmpm86p6el
compile options: '-I/tmp/
P1_
Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
P1_
Warning: Unused variable ‘tmp_jamp’ declared at (1) [-Wunused-variable]
gfortran:f77: /tmp/tmpm86p6el
gfortran:f77: P1_ddx_ttx/matrix.f
P1_
CALL VVV10P0_
Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
P1_
CALL VVV7P0_
Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
P1_
Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
P1_
Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion]
P1_
Warning: Unused variable ‘tmp_jamp’ declared at (1) [-Wunused-variable]
/usr/
/usr/
error: Command "gfortran -Wall -g -ffixed-form -fno-second-
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/tmpeqsa64gi
/usr/
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:/
If you think that this is a bug, you can report this at https:/
automatic_
cluster_
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.0 2021-03-30 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#******
set group_subprocesses Auto
set ignore_
set low_mem_
set complex_mass_scheme False
set include_
set gauge unitary
set loop_optimized_
set loop_color_flows False
set max_npoint_
set default_
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_
import model SMEFTsim_
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 - linearPropCorre
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/
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/
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/
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/
#******
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/
# *
# 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=
#******
# 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_
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.
1 = sde_strategy ! default integration strategy (hep-ph/2021.xxxxx)
! 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.
#******
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*
#******
15.0 = bwcutoff ! (M+/-bwcutoff*
#******
# 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_
#******
# 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_
# Syscalc is deprecated but to see the associate options type'update syscalc'
Revision history for this message
|
#3 |
The compilation error seems to be due to this:
P1_gg_ttx/
CALL VVV10P0_
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
|
#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_
change process p p > t t~ NP=1 SMHLOOP=0
launch
/home/syk/
and the errors were the same, but if I wrote:
change model SMEFTsim_
change process p p > t t~ NP=1 SMHLOOP=0
launch
/home/syk/
the errors were:
generate_events run_01
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
original_
File "/home/
self.
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
reweight_
File "/home/
self.
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
out = f(self, *args, **opt)
File "/home/
weight = self.calculate_
File "/home/
jac, new_event = self.change_
File "/home/
raise Exception
Exception
I don't know why and how to fix it, could you help me?
Revision history for this message
|
#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_
generate p p > t t~ NP=1 SMHLOOP=0
output
launch
reweight=ON
edit reweight --after_line=banner change model SMEFTsim_
edit reweight ~/Desktop/
launch -i
reweight run_01
and it indeed crash with
CALL VVV7P0_
Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
P1_
So I will focus on that one first.
Cheers,
Olivier
Revision history for this message
|
#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
|
#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
|
#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
|
#9 |
Actually I was wrong, this does not help.
Looks like the following patch was the introducing the issue:
https:/
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
|
#10 |
This should fix it:
https:/
Revision history for this message
|
#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
|
#12 |
Can you provide a script like the one above?
Revision history for this message
|
#13 |
Sorry, I haven't learned to write a script to run MadGraph yet. I used commands like:
import model SMEFTsim_
generate p p > t t~ NP=1 SMHLOOP=0
output
launch
reweight=ON
edit para_card /home/syk/
edit reweight --after_line=banner
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
|
#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_
generate p p > t t~ NP=1 SMHLOOP=0
output PROC_TEST
launch
reweight=ON
~/Desktop/
edit reweight --replace_
edit reweight set smeft 1 1.10000e+00
done
shell ./PROC_
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
|
#15 |
Dear Olivier,
Thank you very much, I tried to write a script:
import model SMEFTsim_
generate p p > t t~ NP=1 SMHLOOP=0
output PROC_TEST
launch
reweight=ON
/home/syk/
edit reweight --replace_
edit reweight set smeft 1 1.10000e+00
done
shell ./PROC_
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/
P1_
CALL FFS2_0(
Error: Symbol ‘gc_1024’ at (1) has no IMPLICIT type
P1_
CALL VVV10P0_
Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
P1_
CALL VVS6_3(
Error: Symbol ‘gc_348’ at (1) has no IMPLICIT type
P1_
CALL FFVV3_0(
Error: Symbol ‘gc_387’ at (1) has no IMPLICIT type
P1_
CALL VVV7P0_
Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
P1_
and,
error: Command "gfortran -Wall -g -ffixed-form -fno-second-
I'm sure that I have replaced "shutil.
Really thank you for your nice help!!
Yours
Yuekai
Revision history for this message
|
#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:/
>
> Yuekai Song posted a new comment:
> Dear Olivier,
> Thank you very much, I tried to write a script:
>
> import model SMEFTsim_
> generate p p > t t~ NP=1 SMHLOOP=0
> output PROC_TEST
> launch
> reweight=ON
> /home/syk/
> edit reweight --replace_
> edit reweight set smeft 1 1.10000e+00
> done
> shell ./PROC_
>
> 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/
> P1_gg_ttx/
>
> CALL FFS2_0(
> 1
> Error: Symbol ‘gc_1024’ at (1) has no IMPLICIT type
> P1_gg_ttx/
>
> CALL VVV10P0_
> 1
> Error: Symbol ‘gc_31’ at (1) has no IMPLICIT type
> P1_gg_ttx/
>
> CALL VVS6_3(
> 1
> Error: Symbol ‘gc_348’ at (1) has no IMPLICIT type
> P1_gg_ttx/
>
> CALL FFVV3_0(
> 1
> Error: Symbol ‘gc_387’ at (1) has no IMPLICIT type
> P1_gg_ttx/
>
> CALL VVV7P0_
> 1
> Error: Symbol ‘gc_7’ at (1) has no IMPLICIT type
> P1_gg_ttx/
>
> M4_MATRIX = M4_MATRIX+
>
> and,
>
> error: Command "gfortran -Wall -g -ffixed-form -fno-second-
>
> I'm sure that I have replaced "shutil.
>
> 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
|
#17 |
Hi, Olivier
It finally works!
Really thank for your kind help!!
yours
Yuekai
Revision history for this message
|
#18 |
Thanks Olivier Mattelaer, that solved my question.