Skip to content

Commit

Permalink
[cmdsy] in tlau, recreate dy3j gridpack using fortran on itgold91, in…
Browse files Browse the repository at this point in the history
…cluding the latest timers/counters and madgraph5#969 sample_get_x speedups [NB: CUDACPP_RUNTIME_SKIPXBINCHECKS still missing!]

CUDACPP_RUNTIME_DISABLEFPE=1 ./tlau/lauX.sh -fortran pp_dy3j.mad -togridpack
  • Loading branch information
valassi committed Aug 22, 2024
1 parent 40399e1 commit e8baa12
Show file tree
Hide file tree
Showing 10 changed files with 85 additions and 1,891 deletions.
2 changes: 1 addition & 1 deletion epochX/cudacpp/pp_dy3j.mad/Cards/grid_card.dat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# cluster, automatically set to true after warm-up and the gridpack *
# is ready. The user should not change this. *
#*********************************************************************
.false. = GridRun !True = Runs in the grid mode
.false. = GridRun !True = Runs in the grid mode
#*********************************************************************
# Number of events and rnd seed *
#*********************************************************************
Expand Down
8 changes: 4 additions & 4 deletions epochX/cudacpp/pp_dy3j.mad/Cards/run_card.dat
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#*********************************************************************
10000 = nevents ! Number of unweighted events requested
100 = nevents ! Number of unweighted events requested
0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# Collider type and energy *
Expand Down Expand Up @@ -65,7 +65,7 @@
#*********************************************************************
# Type and output format
#*********************************************************************
False = gridpack !True = setting up the grid pack
True = gridpack !True = setting up the grid pack
-1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
average = event_norm ! average/sum. Normalization of the weight in the LHEF
# To see MLM/CKKW merging options: type "update MLM" or "update CKKW"
Expand Down Expand Up @@ -221,8 +221,8 @@ systematics = systematics_program ! none, systematics [python], SysCalc [deprece
#***********************************************************************
# SIMD/GPU configuration for the CUDACPP plugin
#************************************************************************
cpp = cudacpp_backend ! CUDACPP backend: fortran, cuda, hip, cpp, cppnone, cppsse4, cppavx2, cpp512y, cpp512z, cppauto
fortran = cudacpp_backend ! CUDACPP backend: fortran, cuda, hip, cpp, cppnone, cppsse4, cppavx2, cpp512y, cpp512z, cppauto
#*** WARNING! Do not change the cudacpp runcard below! Users should normally change only the cudacpp_backend card ***
m = cudacpp_fptype ! CUDACPP floating point precision: f (single), d (double), m (mixed: double for amplitudes, single for colors)
False = cudacpp_bldall ! CUDACPP build all available backends in separate build directories: False, True
True = cudacpp_bldall ! CUDACPP build all available backends in separate build directories: False, True

12 changes: 9 additions & 3 deletions epochX/cudacpp/pp_dy3j.mad/Source/make_opts
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
FPTYPE=m
pdlabel1=
pdlabel2=
lhapdf=
PYTHIA8_PATH=NotInstalled
MG5AMC_VERSION=3.5.3_lo_vect
GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
ALOHA_FLAG=--fast-math
MATRIX_FLAG=-O3
DEFAULT_CPP_COMPILER=g++
DEFAULT_F2PY_COMPILER=f2py3
DEFAULT_F_COMPILER=gfortran
GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
MACFLAG=
MG5AMC_VERSION=SpecifiedByMG5aMCAtRunTime
PYTHIA8_PATH=NotInstalled
STDLIB_FLAG=
STDLIB=-lstdc++
#end_of_make_opts_variables
Expand Down
12 changes: 6 additions & 6 deletions epochX/cudacpp/pp_dy3j.mad/Source/param_card.inc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
MDL_MT = 1.730000D+02
MDL_WZ = 2.441404D+00
MDL_WW = 2.047600D+00
MDL_WH = 6.382339D-03
MDL_WT = 1.491500D+00
MDL_MTA = 1.777000D+00
MDL_MZ = 9.118800D+01
MDL_MH = 1.250000D+02
MDL_MT = 1.730000D+02
AEWM1 = 1.325070D+02
MDL_GF = 1.166390D-05
AS = 1.180000D-01
MDL_YMT = 1.730000D+02
MDL_YMTAU = 1.777000D+00
MDL_WT = 1.491500D+00
MDL_WZ = 2.441404D+00
MDL_WW = 2.047600D+00
MDL_WH = 6.382339D-03
MDL_YMT = 1.730000D+02
4 changes: 2 additions & 2 deletions epochX/cudacpp/pp_dy3j.mad/Source/run_card.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GRIDPACK = .FALSE.
GRIDPACK = .TRUE.

NEVENTS = 10000
NEVENTS = 100

ISEED = 0

Expand Down
2 changes: 1 addition & 1 deletion epochX/cudacpp/pp_dy3j.mad/SubProcesses/randinit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
r=21
r=24
2 changes: 1 addition & 1 deletion epochX/cudacpp/pp_dy3j.mad/bin/internal/gen_ximprove.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def resubmit_survey(self, Pdir, G, Gdirs, step):
def write_parameter_file(self, path, options):
""" """

template =""" %(event)s %(maxiter)s %(miniter)s !Number of events and max and min iterations
template =""" 8192 1 1 !Number of events and max and min iterations
%(accuracy)s !Accuracy
%(gridmode)s !Grid Adjustment 0=none, 2=adjust
1 !Suppress Amplitude 1=yes
Expand Down
4 changes: 2 additions & 2 deletions epochX/cudacpp/pp_dy3j.mad/bin/internal/madevent_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -2053,8 +2053,8 @@ class MadEventCmd(CompleteForCmd, CmdExtended, HelpToCmd, common_run.CommonRunCm
_save_opts = ['options']
_initMadLoop_opts = ['-f','-r','--nPS=']
# survey options, dict from name to type, default value, and help text
_survey_options = {'points':('int', 1000,'Number of points for first iteration'),
'iterations':('int', 5, 'Number of iterations'),
_survey_options = {'points':('int', 8192,'Number of points for first iteration'),
'iterations':('int', 1, 'Number of iterations'),
'accuracy':('float', 0.1, 'Required accuracy'),
'gridpack':('str', '.false.', 'Gridpack generation')}
# Variables to store object information
Expand Down
Loading

0 comments on commit e8baa12

Please sign in to comment.