Dear developers,
I tried to launch a process for a new imported model, but it gives a compilation error which I did not encounter previously. I checked my gcc and gfortran versions and they are the same (11.4.0).
The error log is the following:
INFO: Update the dependent parameter of the param_card.dat
WARNING: update the strong coupling value (alpha_s) to the value from the pdf selected: 0.13
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
Traceback (most recent call last):
File "/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/bin/internal/ufomodel/write_param_card.py", line 180, in <module>
ParamCardWriter('./param_card.dat', generic=True)
File "/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/bin/internal/ufomodel/write_param_card.py", line 28, in __init__
self.write_card(list_of_parameters)
File "/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/bin/internal/ufomodel/write_param_card.py", line 88, in write_card
self.write_dep_param_block(lhablock)
File "/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/bin/internal/ufomodel/write_param_card.py", line 137, in write_dep_param_block
value = complex(eval(param.value)).real
File "<string>", line 1, in <module>
NameError: name 'cot' is not defined
compile Source Directory
Error detected in "generate_events run_01"
write debug file /home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/run_01_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/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source.
The compilation fails with the following output message:
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o StringCast.o StringCast.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o ranmar.o ranmar.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o transpole.o transpole.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o invarients.o invarients.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o hfill.o hfill.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o pawgraphs.o pawgraphs.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o ran1.o ran1.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o rw_events.o rw_events.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o rw_routines.o rw_routines.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o kin_functions.o kin_functions.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o open_file.o open_file.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o basecode.o basecode.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o setrun.o setrun.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o run_printout.o run_printout.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o dgauss.o dgauss.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o readgrid.o readgrid.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o getissud.o getissud.f
cd DHELAS; make; cd ..
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/DHELAS'
cd PDF; make; cd ..
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF'
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o aloha_functions.o aloha_functions.f
echo "remove previous compilation ElectroweakFluxDriver.o ../../lib/libgammaUPC.a pdfwrap_lhapdf.o"
remove previous compilation ElectroweakFluxDriver.o ../../lib/libgammaUPC.a pdfwrap_lhapdf.o
echo "need to compile opendata.o PhotonFlux.o ElectroweakFlux_dummy.o Ctq6Pdf.o pdfwrap.o pdf.o pdg2pdf.o NNPDFDriver.o eepdf.o gridpdfaux.o dfint.o kerset.o"
need to compile opendata.o PhotonFlux.o ElectroweakFlux_dummy.o Ctq6Pdf.o pdfwrap.o pdf.o pdg2pdf.o NNPDFDriver.o eepdf.o gridpdfaux.o dfint.o kerset.o
rm -rf ElectroweakFluxDriver.o ../../lib/libgammaUPC.a pdfwrap_lhapdf.o
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o opendata.o opendata.f
cd PDF/gammaUPC; make -f makefile_dummy; cd ../../
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF/gammaUPC'
cd MODEL; make
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/MODEL'
cd CERNLIB; make; cd ..
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o couplings.o couplings.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c gammaUPC_dummy.f
cd BIAS/dummy; make; cd ../../
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o DiscreteSampler.o DiscreteSampler.f
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/CERNLIB'
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/BIAS/dummy'
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o abend.o abend.f
ar cru ../../../lib/libgammaUPC.a gammaUPC_dummy.o
ar: `u' modifier ignored since `D' is the default (see `U')
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o dlsqp2.o dlsqp2.f
intparam_definition.inc:119:20:
119 | $ *MDL_SW*COT(DCMPLX(MDL_ZETA)))/MDL_CAB)))
| 1
Error: Function ‘cot’ at (1) has no IMPLICIT type
intparam_definition.inc:119:20:
119 | $ *MDL_SW*COT(DCMPLX(MDL_ZETA)))/MDL_CAB)))
| 1
Error: Function ‘cot’ at (1) has no IMPLICIT type
make[1]: *** [<builtin>: couplings.o] Error 1
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/MODEL'
make: *** [makefile:59: ../lib/libmodel.a] Error 2
make: *** Waiting for unfinished jobs....
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o dummy.o dummy.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o PhotonFlux.o PhotonFlux.f
ranlib ../../../lib/libgammaUPC.a
ar cru ../../../lib/libbias.a dummy.o
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o lenocc.o lenocc.f
ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF/gammaUPC'
ranlib ../../../lib/libbias.a
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o ElectroweakFlux_dummy.o ElectroweakFlux_dummy.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o mtlprt.o mtlprt.f
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/BIAS/dummy'
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o Ctq6Pdf.o Ctq6Pdf.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o mtlset.o mtlset.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o radmul.o radmul.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o pdfwrap.o pdfwrap.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o pdf.o pdf.f
ar cru ../../lib/libcernlib.a abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib ../../lib/libcernlib.a
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o pdg2pdf.o pdg2pdf.f
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/CERNLIB'
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o NNPDFDriver.o NNPDFDriver.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV2P1N_3.o FFV2P1N_3.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV3P1N_3.o FFV3P1N_3.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o eepdf.o eepdf.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV3P1N_1.o FFV3P1N_1.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV3_0.o FFV3_0.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV2P1N_1.o FFV2P1N_1.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV2_3.o FFV2_3.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV3_3.o FFV3_3.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV2P1N_2.o FFV2P1N_2.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV3P1N_2.o FFV3P1N_2.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o FFV2_0.o FFV2_0.f
ar cru ../../lib/libdhelas.a aloha_functions.o FFV2P1N_3.o FFV3P1N_3.o FFV3P1N_1.o FFV3_0.o FFV2P1N_1.o FFV2_3.o FFV3_3.o FFV2P1N_2.o FFV3P1N_2.o FFV2_0.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib ../../lib/libdhelas.a
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/DHELAS'
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o gridpdfaux.o gridpdfaux.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o dfint.o dfint.f
gfortran -w -fPIC -O -ffixed-line-length-132 -c -o kerset.o kerset.f
rm ../../lib/libpdf.a || echo "recompilation of ../../lib/libpdf.a"
rm: cannot remove '../../lib/libpdf.a': No such file or directory
recompilation of ../../lib/libpdf.a
ar cru ../../lib/libpdf.a opendata.o PhotonFlux.o ElectroweakFlux_dummy.o Ctq6Pdf.o pdfwrap.o pdf.o pdg2pdf.o NNPDFDriver.o eepdf.o gridpdfaux.o dfint.o kerset.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib ../../lib/libpdf.a
(cd ./gammaUPC ; make -f makefile_dummy; cd ../)
make[2]: Entering directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF/gammaUPC'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF/gammaUPC'
make[1]: Leaving directory '/home/maximlysnk/MG5_aMC_v3_5_1/bin/l+/Source/PDF'
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
quit
INFO: