Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next patch for cudacpp-only MEs: add dummy color choice to fix 'failed to reduce to color index' #489

Merged
merged 24 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
caa841e
[fvsc] in ggttg mad, add debug printouts in addmothers
valassi Jun 15, 2022
dc50824
[fvsc] in ggttg mad, set JAMP2(0) in cudacpp-only mode where SMATRIX1…
valassi Jun 15, 2022
0d3bc7c
[fvsc] in ggtt mad, add the same workaround as in ggttg mad (prepare …
valassi Jun 15, 2022
b855d66
[fvsc] backport ggttmad to codegen, regenerate fortran patche (same r…
valassi Jun 15, 2022
d7115ac
[fvsc] regenerate all five processes mad with the workaround for http…
valassi Jun 15, 2022
eb5ed78
[fvsc] rerun tmad alltees, still in fbridge_mode=-1 (BOTH fortran and…
valassi Jun 15, 2022
fd04fbf
[fvsc] move to cudacpp-only mode in madX.sh
valassi Jun 15, 2022
b2e4887
[fvsc] rerun tmad alltees with cudacpp-only after adding workaorund w…
valassi Jun 15, 2022
e9307aa
[fvsc] improve tmad madX.sh script, keep stderr in the log
valassi Jun 15, 2022
a11c9ab
[fvsc] rerun tmad alltees with new madX that should capture stderr...…
valassi Jun 15, 2022
3614722
[fvsc] try another hack to collect stderr in madX and rerun, but not …
valassi Jun 15, 2022
9459500
[fvsc] Revert the last three commits (do not try to collect stderr in…
valassi Jun 15, 2022
2b335a8
[fvsc] in eemumu mad add debugging of JAMP2: very surprising, NCOLOR …
valassi Jun 15, 2022
68c8bc3
[fvsc] in eemumu mad add an IMPLICIT NONE and remove JAMP2 debug stat…
valassi Jun 15, 2022
d0de6dc
[fvsc] in ggtt mad add IMPLCIT NONE as in eemumu mad, now NCOLOR no l…
valassi Jun 15, 2022
babba05
[fvsc] in ggtt mad replace NCOLOR by hardcoded value 2, will backport…
valassi Jun 15, 2022
ff24a33
[fvsc] backport ggttmad to codegen, regenerate fortran patches (same …
valassi Jun 15, 2022
8380c2a
[fvsc] in codegen patchMad.sh add a process dependent patch to hardco…
valassi Jun 15, 2022
bd5c0dc
[fvsc] regenerate all 5 processes mad, now with hardcoded NCOLOR in t…
valassi Jun 15, 2022
31f44b4
[fvsc] rerun tmad alltees, AT LAST a dummy color is chosen and the is…
valassi Jun 15, 2022
874c601
[fvsc] improve madX.s script to avoid printing out fbridge_mode if ir…
valassi Jun 15, 2022
8fdc220
[fvsc] improve madX.sh to distinguish build/run working directory
valassi Jun 15, 2022
dd5fdbb
[fvsc] improve madX.h, more compact dump of xsec and bridge mode
valassi Jun 15, 2022
581e8c9
[fvsc] ** COMPLETE NEXT PATCH FOR FVSC ** rerun tmad alltees in mode=…
valassi Jun 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions epochX/cudacpp/CODEGEN/MG5aMC_patches/patch.auto_dsig1.f
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
index 1734289bf..8ce665534 100644
index 1734289bf..3c66b950f 100644
--- b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
+++ a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
@@ -76,13 +76,13 @@ C Keep track of whether cuts already calculated for this event
Expand Down Expand Up @@ -36,17 +36,19 @@
INCLUDE 'run.inc'

DOUBLE PRECISION P_MULTI(0:3, NEXTERNAL, NB_PAGE_MAX)
@@ -452,7 +452,8 @@ C
@@ -451,8 +451,10 @@ C

USE OMP_LIB

+ IMPLICIT NONE
INCLUDE 'nexternal.inc'
- INCLUDE '../../Source/vector.inc'
+ include 'vector.inc'
+ include 'coupl.inc'
INCLUDE 'maxamps.inc'
DOUBLE PRECISION P_MULTI(0:3, NEXTERNAL, NB_PAGE_MAX)
DOUBLE PRECISION HEL_RAND(NB_PAGE_MAX)
@@ -462,22 +463,119 @@ C
@@ -462,22 +464,125 @@ C
DOUBLE PRECISION JAMP2_MULTI(0:MAXFLOW, NB_PAGE_MAX)

INTEGER IVEC
Expand Down Expand Up @@ -151,6 +153,12 @@
+ OUT(IVEC) = OUT2(IVEC) ! use the cudacpp ME instead of the fortran ME!
+ END DO
+ ENDIF
+
+ IF( FBRIDGE_MODE .EQ. 1 ) THEN ! (CppOnly=1 : SMATRIX1 is not called at all, JAMP2_MULTI is not filled)
+ DO IVEC=1, NB_PAGE_LOOP
+ JAMP2_MULTI(0,IVEC) = 2 ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
+ END DO
+ ENDIF
+#endif
+
+ IF ( FIRST_CHID ) THEN
Expand Down
5 changes: 5 additions & 0 deletions epochX/cudacpp/CODEGEN/patchMad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ for p1dir in ${dir}/SubProcesses/P1_*; do
if ! patch -p6 -i ${scrdir}/MG5aMC_patches/patch.auto_dsig1.f; then status=1; fi
fi
\rm -f *.orig
ncolor=$(cat matrix1.f | grep PARAMETER | grep NCOLOR= | sed 's/.*NCOLOR=//' | sed 's/)//')
cat auto_dsig1.f \
| sed "s|JAMP2_MULTI(0,IVEC) = 2 ! workaround|JAMP2_MULTI(0,IVEC) = ${ncolor} ! workaround|" \
> auto_dsig1.f.new
\mv auto_dsig1.f.new auto_dsig1.f
cd - > /dev/null
done

Expand Down
16 changes: 8 additions & 8 deletions epochX/cudacpp/ee_mumu.mad/CODEGEN_mad_ee_mumu_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ generate e+ e- > mu+ mu-
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.0068814754486083984 
DEBUG: model prefixing takes 0.006848335266113281 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
DEBUG: Simplifying conditional expressions 
DEBUG: remove interactions: u s w+ at order: QED=1 
Expand Down Expand Up @@ -154,7 +154,7 @@ output madevent CODEGEN_mad_ee_mumu --hel_recycling=False --vector_size=16384 --
Load PLUGIN.CUDACPP_SA_OUTPUT
Addition matrix-element will be done with PLUGIN: CUDACPP_SA_OUTPUT
Output will be done with PLUGIN: CUDACPP_SA_OUTPUT
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3071] 
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3008] 
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 141] 
INFO: initialize a new directory: CODEGEN_mad_ee_mumu
INFO: remove old information in CODEGEN_mad_ee_mumu
Expand All @@ -167,7 +167,7 @@ INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Processing color information for process: e+ e- > mu+ mu- @1
INFO: Creating files in directory P1_ll_ll
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fb9ef3a0d30> [export_v4.py at line 6106] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f4014e3c280> [export_v4.py at line 6106] 
INFO: Creating files in directory .
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1198] 
DEBUG: self.include_multi_channel is already defined: this is madevent+second_exporter mode [model_handling.py at line 1200] 
Expand Down Expand Up @@ -199,7 +199,7 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
INFO: Generating Feynman diagrams for Process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Finding symmetric diagrams for subprocess group ll_ll
Generated helas calls for 1 subprocesses (2 diagrams) in 0.005 s
Wrote files for 8 helas calls in 0.114 s
Wrote files for 8 helas calls in 0.113 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
Expand All @@ -211,7 +211,7 @@ ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates FFV2_4 routines
ALOHA: aloha creates 7 routines in 0.308 s
ALOHA: aloha creates 7 routines in 0.306 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
Expand All @@ -237,6 +237,6 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.415s
user 0m2.097s
sys 0m0.304s
real 0m2.386s
user 0m2.076s
sys 0m0.300s
7 changes: 7 additions & 0 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_ll_ll/auto_dsig1.f
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,

USE OMP_LIB

IMPLICIT NONE
INCLUDE 'nexternal.inc'
include 'vector.inc'
include 'coupl.inc'
Expand Down Expand Up @@ -578,6 +579,12 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,
OUT(IVEC) = OUT2(IVEC) ! use the cudacpp ME instead of the fortran ME!
END DO
ENDIF

IF( FBRIDGE_MODE .EQ. 1 ) THEN ! (CppOnly=1 : SMATRIX1 is not called at all, JAMP2_MULTI is not filled)
DO IVEC=1, NB_PAGE_LOOP
JAMP2_MULTI(0,IVEC) = 1 ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
20 changes: 10 additions & 10 deletions epochX/cudacpp/gg_tt.mad/CODEGEN_mad_gg_tt_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ generate g g > t t~
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.006848335266113281 
DEBUG: model prefixing takes 0.006841897964477539 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
DEBUG: Simplifying conditional expressions 
DEBUG: remove interactions: u s w+ at order: QED=1 
Expand Down Expand Up @@ -149,13 +149,13 @@ INFO: Please specify coupling orders to bypass this step.
INFO: Trying coupling order WEIGHTED<=2: WEIGTHED IS QCD+2*QED
INFO: Trying process: g g > t t~ WEIGHTED<=2 @1
INFO: Process has 3 diagrams
1 processes with 3 diagrams generated in 0.010 s
1 processes with 3 diagrams generated in 0.011 s
Total: 1 processes with 3 diagrams
output madevent CODEGEN_mad_gg_tt --hel_recycling=False --vector_size=16384 --me_exporter=standalone_cudacpp
Load PLUGIN.CUDACPP_SA_OUTPUT
Addition matrix-element will be done with PLUGIN: CUDACPP_SA_OUTPUT
Output will be done with PLUGIN: CUDACPP_SA_OUTPUT
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3071] 
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3008] 
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 141] 
INFO: initialize a new directory: CODEGEN_mad_gg_tt
INFO: remove old information in CODEGEN_mad_gg_tt
Expand All @@ -170,7 +170,7 @@ INFO: Processing color information for process: g g > t t~ @1
INFO: Creating files in directory P1_gg_ttx
INFO: Some T-channel width have been set to zero [new since 2.8.0]
if you want to keep this width please set "zerowidth_tchannel" to False 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fdb7d0293a0> [export_v4.py at line 6106] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fa00b51c280> [export_v4.py at line 6106] 
INFO: Creating files in directory .
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1198] 
DEBUG: self.include_multi_channel is already defined: this is madevent+second_exporter mode [model_handling.py at line 1200] 
Expand Down Expand Up @@ -205,16 +205,16 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
INFO: Generating Feynman diagrams for Process: g g > t t~ WEIGHTED<=2 @1
INFO: Finding symmetric diagrams for subprocess group gg_ttx
Generated helas calls for 1 subprocesses (3 diagrams) in 0.008 s
Wrote files for 10 helas calls in 0.129 s
Wrote files for 10 helas calls in 0.130 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates 2 routines in 0.174 s
ALOHA: aloha creates 2 routines in 0.171 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 179] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates 4 routines in 0.161 s
ALOHA: aloha creates 4 routines in 0.158 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand All @@ -236,6 +236,6 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.225s
user 0m1.906s
sys 0m0.291s
real 0m2.202s
user 0m1.909s
sys 0m0.280s
7 changes: 7 additions & 0 deletions epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,

USE OMP_LIB

IMPLICIT NONE
INCLUDE 'nexternal.inc'
include 'vector.inc'
include 'coupl.inc'
Expand Down Expand Up @@ -564,6 +565,12 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,
OUT(IVEC) = OUT2(IVEC) ! use the cudacpp ME instead of the fortran ME!
END DO
ENDIF

IF( FBRIDGE_MODE .EQ. 1 ) THEN ! (CppOnly=1 : SMATRIX1 is not called at all, JAMP2_MULTI is not filled)
DO IVEC=1, NB_PAGE_LOOP
JAMP2_MULTI(0,IVEC) = 2 ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
20 changes: 10 additions & 10 deletions epochX/cudacpp/gg_ttg.mad/CODEGEN_mad_gg_ttg_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ generate g g > t t~ g
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.006859779357910156 
DEBUG: model prefixing takes 0.00681757926940918 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
DEBUG: Simplifying conditional expressions 
DEBUG: remove interactions: u s w+ at order: QED=1 
Expand Down Expand Up @@ -155,7 +155,7 @@ output madevent CODEGEN_mad_gg_ttg --hel_recycling=False --vector_size=16384 --m
Load PLUGIN.CUDACPP_SA_OUTPUT
Addition matrix-element will be done with PLUGIN: CUDACPP_SA_OUTPUT
Output will be done with PLUGIN: CUDACPP_SA_OUTPUT
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3071] 
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3008] 
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 141] 
INFO: initialize a new directory: CODEGEN_mad_gg_ttg
INFO: remove old information in CODEGEN_mad_gg_ttg
Expand All @@ -170,7 +170,7 @@ INFO: Processing color information for process: g g > t t~ g @1
INFO: Creating files in directory P1_gg_ttxg
INFO: Some T-channel width have been set to zero [new since 2.8.0]
if you want to keep this width please set "zerowidth_tchannel" to False 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7eff07d033a0> [export_v4.py at line 6106] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f8987a35280> [export_v4.py at line 6106] 
INFO: Creating files in directory .
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1198] 
DEBUG: self.include_multi_channel is already defined: this is madevent+second_exporter mode [model_handling.py at line 1200] 
Expand Down Expand Up @@ -206,23 +206,23 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
DEBUG: Done [export_cpp.py at line 713] 
INFO: Generating Feynman diagrams for Process: g g > t t~ g WEIGHTED<=3 @1
INFO: Finding symmetric diagrams for subprocess group gg_ttxg
Generated helas calls for 1 subprocesses (16 diagrams) in 0.050 s
Wrote files for 36 helas calls in 0.200 s
Generated helas calls for 1 subprocesses (16 diagrams) in 0.051 s
Wrote files for 36 helas calls in 0.204 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVVV1 set of routines with options: P0
ALOHA: aloha creates VVVV3 set of routines with options: P0
ALOHA: aloha creates VVVV4 set of routines with options: P0
ALOHA: aloha creates 5 routines in 0.394 s
ALOHA: aloha creates 5 routines in 0.390 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 179] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVVV1 set of routines with options: P0
ALOHA: aloha creates VVVV3 set of routines with options: P0
ALOHA: aloha creates VVVV4 set of routines with options: P0
ALOHA: aloha creates 10 routines in 0.375 s
ALOHA: aloha creates 10 routines in 0.372 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand All @@ -249,6 +249,6 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.861s
user 0m2.526s
sys 0m0.325s
real 0m2.855s
user 0m2.555s
sys 0m0.290s
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,

USE OMP_LIB

IMPLICIT NONE
INCLUDE 'nexternal.inc'
include 'vector.inc'
include 'coupl.inc'
Expand Down Expand Up @@ -564,6 +565,12 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,
OUT(IVEC) = OUT2(IVEC) ! use the cudacpp ME instead of the fortran ME!
END DO
ENDIF

IF( FBRIDGE_MODE .EQ. 1 ) THEN ! (CppOnly=1 : SMATRIX1 is not called at all, JAMP2_MULTI is not filled)
DO IVEC=1, NB_PAGE_LOOP
JAMP2_MULTI(0,IVEC) = 6 ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
20 changes: 10 additions & 10 deletions epochX/cudacpp/gg_ttgg.mad/CODEGEN_mad_gg_ttgg_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ generate g g > t t~ g g
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.006844043731689453 
DEBUG: model prefixing takes 0.006869077682495117 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
DEBUG: Simplifying conditional expressions 
DEBUG: remove interactions: u s w+ at order: QED=1 
Expand Down Expand Up @@ -149,13 +149,13 @@ INFO: Please specify coupling orders to bypass this step.
INFO: Trying coupling order WEIGHTED<=4: WEIGTHED IS QCD+2*QED
INFO: Trying process: g g > t t~ g g WEIGHTED<=4 @1
INFO: Process has 123 diagrams
1 processes with 123 diagrams generated in 0.213 s
1 processes with 123 diagrams generated in 0.209 s
Total: 1 processes with 123 diagrams
output madevent CODEGEN_mad_gg_ttgg --hel_recycling=False --vector_size=16384 --me_exporter=standalone_cudacpp
Load PLUGIN.CUDACPP_SA_OUTPUT
Addition matrix-element will be done with PLUGIN: CUDACPP_SA_OUTPUT
Output will be done with PLUGIN: CUDACPP_SA_OUTPUT
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3071] 
DEBUG: cformat =  standalone_cudacpp [export_cpp.py at line 3008] 
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 141] 
INFO: initialize a new directory: CODEGEN_mad_gg_ttgg
INFO: remove old information in CODEGEN_mad_gg_ttgg
Expand All @@ -170,7 +170,7 @@ INFO: Processing color information for process: g g > t t~ g g @1
INFO: Creating files in directory P1_gg_ttxgg
INFO: Some T-channel width have been set to zero [new since 2.8.0]
if you want to keep this width please set "zerowidth_tchannel" to False 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f58fc1b85b0> [export_v4.py at line 6106] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_SA_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f75b5635700> [export_v4.py at line 6106] 
INFO: Creating files in directory .
DEBUG: Entering PLUGIN_OneProcessExporter.generate_process_files [model_handling.py at line 1198] 
DEBUG: self.include_multi_channel is already defined: this is madevent+second_exporter mode [model_handling.py at line 1200] 
Expand Down Expand Up @@ -208,23 +208,23 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
DEBUG: Done [export_cpp.py at line 713] 
INFO: Generating Feynman diagrams for Process: g g > t t~ g g WEIGHTED<=4 @1
INFO: Finding symmetric diagrams for subprocess group gg_ttxgg
Generated helas calls for 1 subprocesses (123 diagrams) in 0.579 s
Wrote files for 222 helas calls in 0.951 s
Generated helas calls for 1 subprocesses (123 diagrams) in 0.577 s
Wrote files for 222 helas calls in 0.943 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVVV1 routines
ALOHA: aloha creates VVVV3 routines
ALOHA: aloha creates VVVV4 routines
ALOHA: aloha creates 5 routines in 0.409 s
ALOHA: aloha creates 5 routines in 0.391 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 179] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVVV1 routines
ALOHA: aloha creates VVVV3 routines
ALOHA: aloha creates VVVV4 routines
ALOHA: aloha creates 10 routines in 0.380 s
ALOHA: aloha creates 10 routines in 0.381 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand Down Expand Up @@ -254,6 +254,6 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m4.561s
user 0m4.226s
real 0m4.546s
user 0m4.221s
sys 0m0.298s
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,

USE OMP_LIB

IMPLICIT NONE
INCLUDE 'nexternal.inc'
include 'vector.inc'
include 'coupl.inc'
Expand Down Expand Up @@ -564,6 +565,12 @@ SUBROUTINE SMATRIX1_MULTI(P_MULTI, HEL_RAND, CHANNEL, OUT ,
OUT(IVEC) = OUT2(IVEC) ! use the cudacpp ME instead of the fortran ME!
END DO
ENDIF

IF( FBRIDGE_MODE .EQ. 1 ) THEN ! (CppOnly=1 : SMATRIX1 is not called at all, JAMP2_MULTI is not filled)
DO IVEC=1, NB_PAGE_LOOP
JAMP2_MULTI(0,IVEC) = 24 ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
Loading