MG5_aMC_v3_4_2, Cuttools does not compile with Python 3.9
Dear experts,
I do the following:
Download MG5_aMC_v3_4_2
tar xafv MG5_aMC_v3_4_2*
python3.9 ./bin/mg5_aMC
install fastjet
install lhapdf6
import model loop_sm-no_b_mass
generate p p > t t~ a [QCD]
output test
The compilation of Cuttools fails then with the following errors.
Could you please advise what is going wrong?
Traceback (most recent call last):
File "/lustre/
return self.onecmd_
File "/lustre/
return func(arg, **opt)
File "/lustre/
self.
File "/lustre/
self.
File "/lustre/
self.
File "/lustre/
misc.
File "/lustre/
raise MadGraph5Error(
madgraph.
The compilation fails with the following output message:
cp -p ./src/cts/
mkdir -p includects
cp -p ./src/avh/* includects/
cp -p ./src/cts/
cp -p ./src/cts/
cp -p ./src/cts/
cp -p ./src/cts/* includects/
cp -p ./src/mpfun90/* includects/
cp -p ./src/qcdloop/* includects/
cp -p ./src/makefile includects/
cd includects && make EXE="" FC="gfortran" FFLAGS="-fPIC -fno-automatic -O2 -funroll-all-loops" default
make[1]: Entering directory `/lustre/
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpfun90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmod90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmodm90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c mpmodx90.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c avh_olo.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_type.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_tensors.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_constants.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_combinatori
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_dynamics.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_kinematics.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_loopfunctio
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_cuttools.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -c cts_cutroutines.f90
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaxbx.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaxcx.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaxdx.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaxex.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaxinv.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aacbc.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aaccc.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c aacinv.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c spence.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c npoin.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ff2dl2.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffabcd.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffca0.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcb0.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcb1.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcb2.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcb2p.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcdb0.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcc0.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcc0p.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcc1.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcel2.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcel3.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcel4.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcel5.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffceta.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcli2.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcrr.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcxr.f
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcxs3.f
mpmod90.
43 | use mpfunmod
| 1
Fatal Error: Cannot open module file 'mpfunmod.mod' for reading at (1): No such file or directory
compilation terminated.
gfortran -fPIC -fno-automatic -O2 -funroll-all-loops -std=legacy -c ffcxs4.f
make[1]: *** [mpmod90.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mpmodm90.
34 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [mpmodm90.o] Error 1
mpmodx90.
32 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [mpmodx90.o] Error 1
make[1]: *** [cts_tensors.o] Error 1
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [cts_type.o] Error 1
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
make[1]: *** [cts_dynamics.o] Error 1
compilation terminated.
make[1]: *** [cts_constants.o] Error 1
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [cts_cuttools.o] Error 1
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [cts_cutroutines.o] Error 1
aaxex.f:464:35:
463 | do i=16,35
| 2
464 | cexi(i) = ce3ijk(
| 1
Warning: Array reference at (1) out of bounds (35 > 20) in loop beginning at (2)
aaxex.f:464:46:
463 | do i=16,35
| 2
464 | cexi(i) = ce3ijk(
| 1
Warning: Array reference at (1) out of bounds (35 > 20) in loop beginning at (2)
aaxex.f:464:57:
463 | do i=16,35
| 2
464 | cexi(i) = ce3ijk(
| 1
Warning: Array reference at (1) out of bounds (35 > 20) in loop beginning at (2)
cts_
7 | use denominators
| 1
Fatal Error: Cannot open module file 'denominators.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [cts_loopfuncti
aaxex.f:464:72:
464 | cexi(i) = ce3ijk(
| ^
Warning: iteration 4 invokes undefined behavior [-Waggressive-
aaxex.f:463:11:
463 | do i=16,35
| ^
note: within this loop
cts_
1 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [cts_kinematics.o] Error 1
avh_
23477 | use mpmodule
| 1
Fatal Error: Cannot open module file 'mpmodule.mod' for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [avh_olo.o] Error 1
make[1]: Leaving directory `/lustre/
make: *** [default] Error 2
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:/
default_
ignore_
include_
loop_
low_mem_
max_
automatic_
acknowledged
cluster_
mg5amc_
yoda_path : ./HEPTools/yoda
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Andrej Saibel
- Solved:
- Last query:
- Last reply: