Skip to content

Commit

Permalink
[tmad] in gg_ttgg.mad and susy_gg_t1t1.mad, temporarely go back to co…
Browse files Browse the repository at this point in the history
…de with no volatile, to rerun tmad and expose SIGFPE madgraph5#855

git checkout upstream/master susy_gg_t1t1.mad gg_ttgg.mad
  • Loading branch information
valassi committed Jun 3, 2024
1 parent 346c9df commit 2f32ffd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
24 changes: 11 additions & 13 deletions epochX/cudacpp/gg_ttgg.mad/CODEGEN_mad_gg_ttgg_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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.005956411361694336 
DEBUG: model prefixing takes 0.00582575798034668 
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 @@ 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.171 s
1 processes with 123 diagrams generated in 0.169 s
Total: 1 processes with 123 diagrams
output madevent_simd ../TMPOUT/CODEGEN_mad_gg_ttgg --hel_recycling=False --vector_size=32
Load PLUGIN.CUDACPP_OUTPUT
Expand All @@ -178,7 +178,7 @@ INFO: Generating Helas calls for process: g g > t t~ g g WEIGHTED<=4 @1
INFO: Processing color information for process: g g > t t~ g g @1
INFO: Creating files in directory P1_gg_ttxgg
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1148] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7ff75f1706d0> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fd8b1fdc430> [export_v4.py at line 6261] 
INFO: Creating files in directory .
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.h
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.cc
Expand All @@ -193,23 +193,23 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
DEBUG: vector, subproc_group,self.opt['vector_size'] =  32 True 32 [export_v4.py at line 1871] 
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.456 s
Wrote files for 222 helas calls in 0.744 s
Generated helas calls for 1 subprocesses (123 diagrams) in 0.460 s
Wrote files for 222 helas calls in 0.741 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.354 s
ALOHA: aloha creates 5 routines in 0.355 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 205] 
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.334 s
ALOHA: aloha creates 10 routines in 0.338 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand All @@ -235,10 +235,8 @@ If you want to make this value the default for future session, you can run 'save
save configuration file to /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_gg_ttgg/Cards/me5_configuration.txt
INFO: Use Fortran compiler gfortran
INFO: Use c++ compiler g++
INFO: Generate jpeg diagrams
INFO: Generate web pages
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_gg_ttgg; patch -p4 -i /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common
patching file Source/DHELAS/aloha_functions.f
patching file Source/genps.inc
patching file Source/makefile
patching file SubProcesses/makefile
Expand All @@ -259,10 +257,10 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m4.109s
user 0m3.737s
sys 0m0.281s
Code generation completed in 4 seconds
real 0m3.505s
user 0m3.236s
sys 0m0.224s
Code generation completed in 3 seconds
************************************************************
* *
* W E L C O M E to *
Expand Down
2 changes: 1 addition & 1 deletion epochX/cudacpp/gg_ttgg.mad/Source/DHELAS/aloha_functions.f
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ subroutine rotxxx(p,q , prot)
c
implicit none
double precision p(0:3),q(0:3),prot(0:3),qt2,qt,psgn,qq,p1
volatile qt, p1, qq ! prevent optimizations with -O3 (workaround for SIGFPE #855)

double precision rZero, rOne
parameter( rZero = 0.0d0, rOne = 1.0d0 )

Expand Down
20 changes: 9 additions & 11 deletions epochX/cudacpp/susy_gg_t1t1.mad/CODEGEN_mad_susy_gg_t1t1_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ 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 > t1 t1~ WEIGHTED<=2 @1
INFO: Process has 6 diagrams
1 processes with 6 diagrams generated in 0.132 s
1 processes with 6 diagrams generated in 0.130 s
Total: 1 processes with 6 diagrams
output madevent_simd ../TMPOUT/CODEGEN_mad_susy_gg_t1t1 --hel_recycling=False --vector_size=32
Load PLUGIN.CUDACPP_OUTPUT
Expand All @@ -577,7 +577,7 @@ INFO: Generating Helas calls for process: g g > t1 t1~ WEIGHTED<=2 @1
INFO: Processing color information for process: g g > t1 t1~ @1
INFO: Creating files in directory P1_gg_t1t1x
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1148] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fe785415e80> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f6ce50ea0a0> [export_v4.py at line 6261] 
INFO: Creating files in directory .
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.h
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.cc
Expand All @@ -592,19 +592,19 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
DEBUG: vector, subproc_group,self.opt['vector_size'] =  32 True 32 [export_v4.py at line 1871] 
INFO: Generating Feynman diagrams for Process: g g > t1 t1~ WEIGHTED<=2 @1
INFO: Finding symmetric diagrams for subprocess group gg_t1t1x
Generated helas calls for 1 subprocesses (6 diagrams) in 0.009 s
Generated helas calls for 1 subprocesses (6 diagrams) in 0.008 s
Wrote files for 16 helas calls in 0.117 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates VSS1 routines
ALOHA: aloha creates VVSS1 routines
ALOHA: aloha creates 3 routines in 0.198 s
ALOHA: aloha creates 3 routines in 0.196 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 205] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates VSS1 routines
ALOHA: aloha creates VVSS1 routines
ALOHA: aloha creates 6 routines in 0.194 s
ALOHA: aloha creates 6 routines in 0.201 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VSS1
<class 'aloha.create_aloha.AbstractRoutine'> VSS1
Expand All @@ -623,10 +623,8 @@ If you want to make this value the default for future session, you can run 'save
save configuration file to /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_susy_gg_t1t1/Cards/me5_configuration.txt
INFO: Use Fortran compiler gfortran
INFO: Use c++ compiler g++
INFO: Generate jpeg diagrams
INFO: Generate web pages
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_susy_gg_t1t1; patch -p4 -i /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common
patching file Source/DHELAS/aloha_functions.f
patching file Source/genps.inc
patching file Source/makefile
patching file SubProcesses/makefile
Expand All @@ -647,10 +645,10 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m3.624s
user 0m2.849s
sys 0m0.311s
Code generation completed in 4 seconds
real 0m3.081s
user 0m2.681s
sys 0m0.245s
Code generation completed in 3 seconds
************************************************************
* *
* W E L C O M E to *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ subroutine rotxxx(p,q , prot)
c
implicit none
double precision p(0:3),q(0:3),prot(0:3),qt2,qt,psgn,qq,p1
volatile qt, p1, qq ! prevent optimizations with -O3 (workaround for SIGFPE #855)

double precision rZero, rOne
parameter( rZero = 0.0d0, rOne = 1.0d0 )

Expand Down

0 comments on commit 2f32ffd

Please sign in to comment.