Skip to content

Commit 96bf73a

Browse files
committed
[ewdim6] regenerate ewdim6 mad/sa processes after latest PR merges (and add a few new files)
1 parent ee7fe2f commit 96bf73a

19 files changed

+1750
-1362
lines changed

epochX/cudacpp/ewdim6_ud_wz.mad/CODEGEN_mad_ewdim6_ud_wz_log.txt

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ set stdout_level DEBUG
5959
set output information to level: 10
6060
set zerowidth_tchannel F
6161
import model EWdim6
62+
INFO: This model [version 1.1] is provided by C. Degrande (email: n/a). Please cite 1205.4231 
63+
INFO: load particles
64+
INFO: load vertices
65+
WARNING: coupling GC_13=-(complex(0,1)*GH) has direct dependence in aS but has QCD order set to 0. Automatic computation of scale uncertainty can be wrong for such model. 
66+
WARNING: coupling GC_104=(CphidL2*complex(0,1)*GH*vev**2)/1.e6 has direct dependence in aS but has QCD order set to 0. Automatic computation of scale uncertainty can be wrong for such model. 
67+
DEBUG: model prefixing takes 0.012878894805908203 
6268
INFO: Restrict model EWdim6 with file models/EWdim6/restrict_default.dat .
6369
DEBUG: Simplifying conditional expressions 
6470
DEBUG: remove interactions: a a h at order: HIW=1, NP=2 
@@ -170,10 +176,10 @@ It has been validated for the last time with version: 3.5.2
170176
Addition matrix-element will be done with PLUGIN: CUDACPP_OUTPUT
171177
Output will be done with PLUGIN: CUDACPP_OUTPUT
172178
DEBUG: cformat =  standalone_simd [export_cpp.py at line 3071] 
173-
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 161] 
179+
DEBUG: Entering PLUGIN_ProcessExporter.__init__ (initialise the exporter) [output.py at line 162] 
174180
INFO: initialize a new directory: CODEGEN_mad_ewdim6_ud_wz
175181
INFO: remove old information in CODEGEN_mad_ewdim6_ud_wz
176-
DEBUG: Entering PLUGIN_ProcessExporter.copy_template (initialise the directory) [output.py at line 166] 
182+
DEBUG: Entering PLUGIN_ProcessExporter.copy_template (initialise the directory) [output.py at line 167] 
177183
WARNING: File exists /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ewdim6_ud_wz 
178184
INFO: Creating subdirectories in directory /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ewdim6_ud_wz
179185
WARNING: File exists /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ewdim6_ud_wz/Cards 
@@ -183,7 +189,7 @@ INFO: Generating Helas calls for process: u d~ > w+ z HIG<=1 HIW<=1 NP<=2 WEIGHT
183189
INFO: Processing color information for process: u d~ > w+ z HIG<=1 HIW<=1 NP<=2 @1
184190
INFO: Creating files in directory P1_udx_wpz
185191
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1148] 
186-
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fd5abe0da90> [export_v4.py at line 6261] 
192+
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f0faf765fa0> [export_v4.py at line 6261] 
187193
INFO: Creating files in directory .
188194
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.h
189195
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.cc
@@ -199,7 +205,7 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
199205
INFO: Generating Feynman diagrams for Process: u d~ > w+ z HIG<=1 HIW<=1 NP<=2 WEIGHTED<=6 @1
200206
INFO: Finding symmetric diagrams for subprocess group udx_wpz
201207
Generated helas calls for 1 subprocesses (1 diagrams) in 0.003 s
202-
Wrote files for 6 helas calls in 0.101 s
208+
Wrote files for 6 helas calls in 0.102 s
203209
ALOHA: aloha starts to compute helicity amplitudes
204210
ALOHA: aloha creates FFV2 routines
205211
ALOHA: aloha creates VVV2 routines
@@ -209,8 +215,8 @@ ALOHA: aloha creates VVV6 routines
209215
ALOHA: aloha creates VVV7 routines
210216
ALOHA: aloha creates VVV8 routines
211217
ALOHA: aloha creates VVV9 routines
212-
ALOHA: aloha creates 8 routines in 0.635 s
213-
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 204] 
218+
ALOHA: aloha creates 8 routines in 0.658 s
219+
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 205] 
214220
ALOHA: aloha starts to compute helicity amplitudes
215221
ALOHA: aloha creates FFV2 routines
216222
ALOHA: aloha creates VVV2 routines
@@ -221,7 +227,7 @@ ALOHA: aloha creates VVV7 routines
221227
ALOHA: aloha creates VVV8 routines
222228
ALOHA: aloha creates VVV9 routines
223229
ALOHA: aloha creates VVV2_3_5_6_7_8_9 routines
224-
ALOHA: aloha creates 17 routines in 0.759 s
230+
ALOHA: aloha creates 17 routines in 0.777 s
225231
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
226232
<class 'aloha.create_aloha.AbstractRoutine'> VVV2
227233
<class 'aloha.create_aloha.AbstractRoutine'> VVV3
@@ -259,16 +265,16 @@ Hunk #2 succeeded at 163 (offset 20 lines).
259265
Hunk #3 succeeded at 250 (offset 29 lines).
260266
Hunk #4 succeeded at 287 (offset 38 lines).
261267
Hunk #5 succeeded at 332 (offset 38 lines).
262-
DEBUG: p.returncode =  0 [output.py at line 240] 
268+
DEBUG: p.returncode =  0 [output.py at line 241] 
263269
Output to directory /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ewdim6_ud_wz done.
264270
Type "launch" to generate events from this process, or see
265271
/data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ewdim6_ud_wz/README
266272
Run "open index.html" to see more information about this process.
267273
quit
268274

269-
real 0m3.055s
270-
user 0m2.715s
271-
sys 0m0.223s
275+
real 0m3.083s
276+
user 0m2.825s
277+
sys 0m0.220s
272278
Code generation completed in 3 seconds
273279
************************************************************
274280
* *

epochX/cudacpp/ewdim6_ud_wz.mad/Cards/run_card.dat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,5 @@ systematics = systematics_program ! none, systematics [python], SysCalc [deprece
161161
#***********************************************************************
162162
# SIMD/GPU configuration for the CUDACPP plugin
163163
#************************************************************************
164-
d = floating_type ! floating point precision: f (single), d (double), m (mixed: double for amplitudes, single for colors)
165-
auto = avx_level ! SIMD vectorization level: none, sse4, avx2, 512y, 512z, auto
166-
CPP = cudacpp_backend ! CUDACPP backend: FORTRAN, CPP, CUDA
164+
cpp = cudacpp_backend ! CUDACPP backend: fortran, cuda, hip, cpp, cppnone, cppsse4, cppavx2, cpp512y, cpp512z, cppauto
167165

epochX/cudacpp/ewdim6_ud_wz.mad/Cards/run_card_default.dat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,5 @@ systematics = systematics_program ! none, systematics [python], SysCalc [deprece
161161
#***********************************************************************
162162
# SIMD/GPU configuration for the CUDACPP plugin
163163
#************************************************************************
164-
d = floating_type ! floating point precision: f (single), d (double), m (mixed: double for amplitudes, single for colors)
165-
auto = avx_level ! SIMD vectorization level: none, sse4, avx2, 512y, 512z, auto
166-
CPP = cudacpp_backend ! CUDACPP backend: FORTRAN, CPP, CUDA
164+
cpp = cudacpp_backend ! CUDACPP backend: fortran, cuda, hip, cpp, cppnone, cppsse4, cppavx2, cpp512y, cpp512z, cppauto
167165

epochX/cudacpp/ewdim6_ud_wz.mad/SubProcesses/MadgraphTest.h

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ class MadgraphTest : public testing::TestWithParam<TestDriverBase*>
203203
}
204204
};
205205

206-
// Since we link both the CPU-only and GPU tests into the same executable, we prevent
207-
// a multiply defined symbol by only compiling this in the non-CUDA phase:
208-
#ifndef MGONGPUCPP_GPUIMPL
206+
// WARNING: before the split of C++ and CUDA builds, both CPU and GPU tests were linked together into the same executable;
207+
// it was therefore necessary to prevent multiply-defined symbols by only compiling this when "#ifndef MGONGPUCPP_GPUIMPL";
208+
// now that runTest.exe only contains either CPU or GPU tests, this is no longer necessary!
209+
//#ifndef MGONGPUCPP_GPUIMPL
209210

210211
/// Compare momenta and matrix elements.
211212
/// This uses an implementation of TestDriverBase to run a madgraph workflow,
@@ -216,7 +217,8 @@ TEST_P( MadgraphTest, CompareMomentaAndME )
216217
#ifdef __APPLE__
217218
const fptype toleranceMEs = std::is_same<double, fptype>::value ? 1.E-6 : 3.E-2; // see #583
218219
#else
219-
const fptype toleranceMEs = std::is_same<double, fptype>::value ? 1.E-6 : 2.E-3;
220+
//const fptype toleranceMEs = std::is_same<double, fptype>::value ? 1.E-6 : 2.E-3; // fails smeft/hip #843
221+
const fptype toleranceMEs = std::is_same<double, fptype>::value ? 1.E-6 : 3.E-3;
220222
#endif
221223
constexpr fptype energy = 1500; // historical default, Ecms = 1500 GeV = 1.5 TeV (above the Z peak)
222224
// Dump events to a new reference file?
@@ -319,6 +321,9 @@ TEST_P( MadgraphTest, CompareMomentaAndME )
319321
}
320322
}
321323

322-
#endif // MGONGPUCPP_GPUIMPL
324+
// WARNING: before the split of C++ and CUDA builds, both CPU and GPU tests were linked together into the same executable;
325+
// it was therefore necessary to prevent multiply-defined symbols by only compiling this when "#ifndef MGONGPUCPP_GPUIMPL";
326+
// now that runTest.exe only contains either CPU or GPU tests, this is no longer necessary!
327+
//#endif // MGONGPUCPP_GPUIMPL
323328

324329
#endif /* MADGRAPHTEST_H_ */

0 commit comments

Comments
 (0)