Skip to content

Commit b59226e

Browse files
authored
Merge pull request #1082 from madgraph5/FDgauge
FD gauge
2 parents a017789 + cbd4504 commit b59226e

955 files changed

Lines changed: 233027 additions & 18640 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/aloha/template_files/gpu/helas_fd.h

Lines changed: 1077 additions & 0 deletions
Large diffs are not rendered by default.

epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/mgOnGpuVectors.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace mg5amcCpu
5454
#ifdef __clang__
5555
typedef fptype fptype_v __attribute__( ( ext_vector_type( neppV ) ) ); // RRRR
5656
#else
57-
typedef fptype fptype_v __attribute__( ( vector_size( neppV * sizeof( fptype ) ) ) ); // RRRR
57+
typedef fptype fptype_v __attribute__( ( vector_size( neppV * sizeof( fptype ) ), aligned( neppV * sizeof( fptype ) ) ) ); // RRRR
5858
#endif
5959

6060
// Mixed fptypes #537: float for color algebra and double elsewhere
@@ -65,7 +65,7 @@ namespace mg5amcCpu
6565
#ifdef __clang__
6666
typedef fptype2 fptype2_v __attribute__( ( ext_vector_type( neppV2 ) ) ); // RRRRRRRR
6767
#else
68-
typedef fptype2 fptype2_v __attribute__( ( vector_size( neppV2 * sizeof( fptype2 ) ) ) ); // RRRRRRRR
68+
typedef fptype2 fptype2_v __attribute__( ( vector_size( neppV2 * sizeof( fptype2 ) ), aligned( neppV2 * sizeof( fptype2 ) ) ) ); // RRRRRRRR
6969
#endif
7070
#else
7171
typedef fptype_v fptype2_v;
@@ -123,14 +123,14 @@ namespace mg5amcCpu
123123
#if defined MGONGPU_FPTYPE_DOUBLE
124124
typedef long int bool_v __attribute__( ( ext_vector_type( neppV ) ) ); // bbbb
125125
#elif defined MGONGPU_FPTYPE_FLOAT
126-
typedef int bool_v __attribute__( ( ext_vector_type( neppV ) ) ); // bbbb
126+
typedef int bool_v __attribute__( ( ext_vector_type( neppV ) ) ); // bbbb
127127
#endif
128128
#else // gcc
129-
typedef unsigned int uint_v __attribute__( ( vector_size( neppV * sizeof( unsigned int ) ) ) );
129+
typedef unsigned int uint_v __attribute__( ( vector_size( neppV * sizeof( unsigned int ) ), aligned( neppV * sizeof( unsigned int ) ) ) );
130130
#if defined MGONGPU_FPTYPE_DOUBLE
131-
typedef long int bool_v __attribute__( ( vector_size( neppV * sizeof( long int ) ) ) ); // bbbb
131+
typedef long int bool_v __attribute__( ( vector_size( neppV * sizeof( long int ) ), aligned( neppV * sizeof( long int ) ) ) ); // bbbb
132132
#elif defined MGONGPU_FPTYPE_FLOAT
133-
typedef int bool_v __attribute__( ( vector_size( neppV * sizeof( int ) ) ) ); // bbbb
133+
typedef int bool_v __attribute__( ( vector_size( neppV * sizeof( int ) ), aligned( neppV * sizeof( int ) ) ) ); // bbbb
134134
#endif
135135
#endif
136136

epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/madgraph/iolibs/template_files/gpu/process_class.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
// Process-independent compile-time constants
4444
static constexpr int np4 = 4; // dimensions of 4-momenta (E,px,py,pz)
45-
static constexpr int nw6 = 6; // dimensions of each wavefunction (HELAS KEK 91-11): e.g. 6 for e+ e- -> mu+ mu- (fermions and vectors)
45+
static constexpr int nw6 = %(nwave)d; // dimensions of each wavefunction (HELAS KEK 91-11): e.g. 6 for e+ e- -> mu+ mu- (fermions and vectors)
4646

4747
// Process-dependent compile-time constants
4848
static constexpr int npari = %(nincoming)d; // #particles in the initial state (incoming): e.g. 2 (e+ e-) for e+ e- -> mu+ mu-

epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/model_handling.py

Lines changed: 261 additions & 13 deletions
Large diffs are not rendered by default.

epochX/cudacpp/ee_mumu.mad/CODEGEN_mad_ee_mumu_log.txt

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Note that this is a development version.
2-
This version is intended for development/beta testing and NOT for production.
3-
This version has not been fully tested (if at all) and might have limited user support (if at all)
1+
WARNING:root:Support for Python3.9 (and below) has been dropped since end of 2025. Please consider update your version of Python. Continue at your own risk 
42
Running MG5 in debug mode
53
Loading plugin MG5aMC_PLUGIN.CUDACPP_OUTPUT
4+
Plugin MG5aMC_PLUGIN.CUDACPP_OUTPUT has marked as NOT being validated with this version: 3.7.0.
5+
It has been validated for the last time with version: 3.6.5
66
************************************************************
77
* *
88
* W E L C O M E to *
@@ -15,11 +15,8 @@ Loading plugin MG5aMC_PLUGIN.CUDACPP_OUTPUT
1515
* * * * * *
1616
* * * *
1717
* *
18-
* VERSION 3.6.4 2025-09-13 *
19-
* *
20-
* WARNING: UNKNOWN DEVELOPMENT VERSION. *
21-
* WARNING: DO NOT USE FOR PRODUCTION *
22-
* *
18+
* VERSION 3.7.0 2026-01-05 *
19+
* GIT r991-14-g6dba8f068 3.7.1 *
2320
* *
2421
* The MadGraph5_aMC@NLO Development Team - Find us at *
2522
* http://madgraph.phys.ucl.ac.be/ *
@@ -48,7 +45,8 @@ Note that you can still compile and run aMC@NLO with the built-in PDFs
4845

4946
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
5047
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
51-
import /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu.mg
48+
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
49+
import /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu.mg
5250
The import format was not given, so we guess it as command
5351
set stdout_level DEBUG
5452
set output information to level: 10
@@ -57,7 +55,7 @@ generate e+ e- > mu+ mu-
5755
No model currently active, so we import the Standard Model
5856
INFO: load particles
5957
INFO: load vertices
60-
DEBUG: model prefixing takes 0.004334926605224609 
58+
DEBUG: model prefixing takes 0.0051648616790771484 
6159
INFO: Restrict model sm with file models/sm/restrict_default.dat .
6260
DEBUG: Simplifying conditional expressions 
6361
DEBUG: remove interactions: u s w+ at order: QED=1 
@@ -149,48 +147,48 @@ INFO: Checking for minimal orders which gives processes.
149147
INFO: Please specify coupling orders to bypass this step.
150148
INFO: Trying process: e+ e- > mu+ mu- WEIGHTED<=4 @1
151149
INFO: Process has 2 diagrams
152-
1 processes with 2 diagrams generated in 0.003 s
150+
1 processes with 2 diagrams generated in 0.002 s
153151
Total: 1 processes with 2 diagrams
154152
output madevent_simd ../TMPOUT/CODEGEN_mad_ee_mumu --hel_recycling=False --vector_size=32
155153
Output will be done with PLUGIN: CUDACPP_OUTPUT
156154
Addition matrix-element will be done with PLUGIN: CUDACPP_OUTPUT
157-
DEBUG: opt['output_options']['vector_size'] =  32 [export_v4.py at line 4168] 
155+
DEBUG: opt['output_options']['vector_size'] =  32 [export_v4.py at line 4231] 
158156
Output will be done with PLUGIN: CUDACPP_OUTPUT
159157
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 175] 
160158
INFO: initialize a new directory: CODEGEN_mad_ee_mumu
161159
INFO: remove old information in CODEGEN_mad_ee_mumu
162160
DEBUG: Entering PLUGIN_ProcessExporter.copy_template (initialise the directory) [output.py at line 180] 
163-
WARNING: File exists /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu 
164-
INFO: Creating subdirectories in directory /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu
165-
WARNING: File exists /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards 
166-
WARNING: File exists /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses 
161+
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu 
162+
INFO: Creating subdirectories in directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu
163+
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards 
164+
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses 
167165
INFO: Organizing processes into subprocess groups
168166
INFO: Generating Helas calls for process: e+ e- > mu+ mu- WEIGHTED<=4 @1
169167
INFO: Processing color information for process: e+ e- > mu+ mu- @1
170168
INFO: Creating files in directory P1_epem_mupmum
171-
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1156] 
169+
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1314] 
172170
INFO: Creating files in directory .
173171
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.h
174172
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.cc
175173
INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
176174
INFO: Generating Feynman diagrams for Process: e+ e- > mu+ mu- WEIGHTED<=4 @1
177175
INFO: Finding symmetric diagrams for subprocess group epem_mupmum
178-
DEBUG: len(subproc_diagrams_for_config) =  2 [model_handling.py at line 1552] 
179-
DEBUG: iconfig_to_diag =  {1: 1, 2: 2} [model_handling.py at line 1576] 
180-
DEBUG: diag_to_iconfig =  {1: 1, 2: 2} [model_handling.py at line 1577] 
181-
Generated helas calls for 1 subprocesses (2 diagrams) in 0.004 s
182-
Wrote files for 8 helas calls in 0.056 s
176+
DEBUG: len(subproc_diagrams_for_config) =  2 [model_handling.py at line 1723] 
177+
DEBUG: iconfig_to_diag =  {1: 1, 2: 2} [model_handling.py at line 1747] 
178+
DEBUG: diag_to_iconfig =  {1: 1, 2: 2} [model_handling.py at line 1748] 
179+
Generated helas calls for 1 subprocesses (2 diagrams) in 0.003 s
180+
Wrote files for 8 helas calls in 0.285 s
183181
ALOHA: aloha starts to compute helicity amplitudes
184182
ALOHA: aloha creates FFV1 routines
185183
ALOHA: aloha creates FFV2 routines
186184
ALOHA: aloha creates FFV4 routines
187-
ALOHA: aloha creates 3 routines in 0.147 s
185+
ALOHA: aloha creates 3 routines in 0.122 s
188186
ALOHA: aloha starts to compute helicity amplitudes
189187
ALOHA: aloha creates FFV1 routines
190188
ALOHA: aloha creates FFV2 routines
191189
ALOHA: aloha creates FFV4 routines
192190
ALOHA: aloha creates FFV2_4 routines
193-
ALOHA: aloha creates 7 routines in 0.209 s
191+
ALOHA: aloha creates 7 routines in 0.152 s
194192
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
195193
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
196194
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
@@ -199,32 +197,32 @@ ALOHA: aloha creates 7 routines in 0.209 s
199197
<class 'aloha.create_aloha.AbstractRoutine'> FFV4
200198
<class 'aloha.create_aloha.AbstractRoutine'> FFV2_4
201199
<class 'aloha.create_aloha.AbstractRoutine'> FFV2_4
202-
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./HelAmps_sm.h
203-
INFO: Created file HelAmps_sm.h in directory /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
200+
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./HelAmps_sm.h
201+
INFO: Created file HelAmps_sm.h in directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
204202
super_write_set_parameters_onlyfixMajorana (hardcoded=False)
205203
super_write_set_parameters_onlyfixMajorana (hardcoded=True)
206-
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.h
207-
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.cc
204+
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.h
205+
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.cc
208206
INFO: Created files Parameters_sm.h and Parameters_sm.cc in directory
209-
INFO: /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/. and /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
207+
INFO: /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/. and /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
210208
The option zerowidth_tchannel is modified [True] but will not be written in the configuration files.
211209
If you want to make this value the default for future session, you can run 'save options --all'
212-
save configuration file to /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
210+
save configuration file to /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
213211
INFO: Use Fortran compiler gfortran
214212
INFO: Use c++ compiler g++
215213
INFO: Generate jpeg diagrams
216214
INFO: Generate web pages
217215
DEBUG: result.returncode =  0 [output.py at line 273] 
218-
Output to directory /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
216+
Output to directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
219217
Type "launch" to generate events from this process, or see
220-
/home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
218+
/shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
221219
Run "open index.html" to see more information about this process.
222220
quit
223221

224-
real 0m2.336s
225-
user 0m1.738s
226-
sys 0m0.448s
227-
Code generation completed in 3 seconds
222+
real 0m4.542s
223+
user 0m1.246s
224+
sys 0m0.587s
225+
Code generation completed in 5 seconds
228226
************************************************************
229227
* *
230228
* W E L C O M E to *
@@ -237,19 +235,20 @@ Code generation completed in 3 seconds
237235
* * * * * *
238236
* * * *
239237
* *
240-
* VERSION 3.6.4 *
238+
* VERSION 3.7.0 *
241239
* *
242240
* The MadGraph5_aMC@NLO Development Team - Find us at *
243241
* https://server06.fynu.ucl.ac.be/projects/madgraph *
244242
* *
245243
* Type 'help' for in-line help. *
246244
* *
247245
************************************************************
248-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
249-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
250-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
246+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
247+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
248+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
251249
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
252250
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
251+
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
253252
treatcards run
254253
quit
255254
INFO:
@@ -266,19 +265,20 @@ launch in debug mode
266265
* * * * * *
267266
* * * *
268267
* *
269-
* VERSION 3.6.4 *
268+
* VERSION 3.7.0 *
270269
* *
271270
* The MadGraph5_aMC@NLO Development Team - Find us at *
272271
* https://server06.fynu.ucl.ac.be/projects/madgraph *
273272
* *
274273
* Type 'help' for in-line help. *
275274
* *
276275
************************************************************
277-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
278-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
279-
INFO: load configuration from /home/dmass/Development/madgraph4gpu/1068-cppauto-deduction/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
276+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
277+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
278+
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
280279
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
281280
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
281+
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
282282
treatcards param
283283
quit
284284
INFO:

0 commit comments

Comments
 (0)