Skip to content

Commit

Permalink
[fvsc] regenerate all five processes mad with the workaround for oliv…
Browse files Browse the repository at this point in the history
…iermattelaer/mg5amc_test#14

(En passant: ggttg addmothers is regenerated without debug printouts)
  • Loading branch information
valassi committed Jun 15, 2022
1 parent b855d66 commit d7115ac
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 54 deletions.
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.006867885589599609 
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 0x7f740a18b280> [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 @@ -204,14 +204,14 @@ ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates 3 routines in 0.240 s
ALOHA: aloha creates 3 routines in 0.238 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 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.304 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.396s
user 0m2.096s
sys 0m0.291s
6 changes: 6 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 @@ -578,6 +578,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) = NCOLOR ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
16 changes: 8 additions & 8 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.006930828094482422 
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_tt --hel_recycling=False --vector_size=16384 --me
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 0x7fd28d3cb280> [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 @@ -209,12 +209,12 @@ Wrote files for 10 helas calls in 0.129 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.172 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.159 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.205s
user 0m1.921s
sys 0m0.272s
22 changes: 11 additions & 11 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.0068988800048828125 
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<=3: WEIGTHED IS QCD+2*QED
INFO: Trying process: g g > t t~ g WEIGHTED<=3 @1
INFO: Process has 16 diagrams
1 processes with 16 diagrams generated in 0.028 s
1 processes with 16 diagrams generated in 0.029 s
Total: 1 processes with 16 diagrams
output madevent CODEGEN_mad_gg_ttg --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_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 0x7f70bca1d280> [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.202 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.387 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.371 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.891s
user 0m2.556s
sys 0m0.285s
5 changes: 0 additions & 5 deletions epochX/cudacpp/gg_ttg.mad/SubProcesses/addmothers.f
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ subroutine addmothers(ip,jpart,pb,isym,jsym,rscale,aqcd,aqed,buff,
real ran1
external pt,ran1,get_color,elim_indices,set_colmp,fix_tchannel_color

write(*,*) 'DEBUG add_mothers'

if (first_time) then
include 'props.inc'
first_time=.false.
Expand Down Expand Up @@ -833,8 +831,6 @@ function elim_indices(n3,n3bar,ncolmp,icolmp,ires,icol,
integer is_colors(2,nincoming)
integer i,j,i3,i3bar

c write(*,*) 'DEBUG elim_indices', n3, n3bar

c Successively eliminate color indices in pairs until only the wanted
c indices remain
do i=1,ncolmp
Expand Down Expand Up @@ -899,7 +895,6 @@ function elim_indices(n3,n3bar,ncolmp,icolmp,ires,icol,
$ ires,icol,is_colors)
else
c Don't know how to deal with this
write(*,*) 'DEBUG1001', i3, n3, i3bar, n3bar
call write_error(1001,n3,n3bar)
endif
endif
Expand Down
22 changes: 11 additions & 11 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.006837606430053711 
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.208 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 0x7fcb3fbb3700> [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.576 s
Wrote files for 222 helas calls in 0.942 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.381 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.373 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
sys 0m0.298s
real 0m4.517s
user 0m4.183s
sys 0m0.323s
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,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) = NCOLOR ! workaround for https://github.com/oliviermattelaer/mg5amc_test/issues/14
END DO
ENDIF
#endif

IF ( FIRST_CHID ) THEN
Expand Down
Loading

0 comments on commit d7115ac

Please sign in to comment.