Skip to content

Commit

Permalink
[oct23av] regenerate all 8 mad and 7 sa processes after completing th…
Browse files Browse the repository at this point in the history
…e merging and patching of upstream/master in my environment

Code changes: auto_dsig1.f in all processes, CPPProcess.cc in eemumu.

I checked that eemumu and ggtt tput/tmad tests succeed (logs not kept).
  • Loading branch information
valassi committed Oct 27, 2023
1 parent f87854e commit 759e60c
Show file tree
Hide file tree
Showing 70 changed files with 705 additions and 396 deletions.
78 changes: 38 additions & 40 deletions epochX/cudacpp/ee_mumu.mad/CODEGEN_mad_ee_mumu_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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.005334377288818359 
DEBUG: model prefixing takes 0.005261898040771484 
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 @@ -174,7 +174,7 @@ 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_epem_mupmum
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1058] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f165f488640> [export_v4.py at line 6199] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f83ef103550> [export_v4.py at line 6226] 
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 @@ -183,27 +183,27 @@ INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
DEBUG: config_map =  [1, 2] [export_cpp.py at line 711] 
DEBUG: subproc_number =  0 [export_cpp.py at line 712] 
DEBUG: Done [export_cpp.py at line 713] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  False True 16384 [export_v4.py at line 1836] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  False True 16384 [export_v4.py at line 1836] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  16384 True 16384 [export_v4.py at line 1836] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  False True 16384 [export_v4.py at line 1862] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  False True 16384 [export_v4.py at line 1862] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  16384 True 16384 [export_v4.py at line 1862] 
WARNING: vector code for lepton pdf not implemented. We removed the option to run dressed lepton 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  16384 True 16384 [export_v4.py at line 1836] 
DEBUG: vector, subproc_group,self.opt['vector_size'] =  16384 True 16384 [export_v4.py at line 1862] 
INFO: Generating Feynman diagrams for Process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Finding symmetric diagrams for subprocess group epem_mupmum
Generated helas calls for 1 subprocesses (2 diagrams) in 0.004 s
Wrote files for 8 helas calls in 0.096 s
Wrote files for 8 helas calls in 0.097 s
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.199 s
ALOHA: aloha creates 3 routines in 0.196 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 197] 
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.252 s
ALOHA: aloha creates 7 routines in 0.251 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
Expand All @@ -226,8 +226,34 @@ save configuration file to /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CO
INFO: Use Fortran compiler gfortran
INFO: Use c++ compiler g++
INFO: Generate web pages
DEBUG: 'Entering PLUGIN_ProcessExporter.finalize', self.in_madevent_mode =  Entering PLUGIN_ProcessExporter.finalize True [output.py at line 206] 
DEBUG! Switching on tmad mode (MG5AMC_TMADMODE=1)
DEBUG: 'Entering PLUGIN_ProcessExporter.finalize', self.in_madevent_mode, type(self) =  Entering PLUGIN_ProcessExporter.finalize True <class 'PLUGIN.CUDACPP_OUTPUT.output.PLUGIN_ProcessExporter'> [output.py at line 206] 
DEBUG: self.in_madevent_mode =  True [output.py at line 207] 
DEBUG! Switching on tmad mode (CUDACPP_CODEGEN_TMADMODE=1)
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu; patch -p4 -i /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common
patching file Source/genps.inc
patching file Source/makefile
patching file SubProcesses/makefile
patching file bin/internal/gen_ximprove.py
Hunk #1 succeeded at 385 (offset 5 lines).
patching file bin/internal/madevent_interface.py
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses/P1_epem_mupmum; patch -p6 -i /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.P1
patching file auto_dsig1.f
Hunk #1 succeeded at 496 (offset 27 lines).
patching file driver.f
patching file matrix1.f
Hunk #3 succeeded at 230 (offset 9 lines).
Hunk #4 succeeded at 267 (offset 18 lines).
Hunk #5 succeeded at 312 (offset 18 lines).
DEBUG: p.returncode =  0 [output.py at line 233] 
Output to directory /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
Type "launch" to generate events from this process, or see
/data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
Run "open index.html" to see more information about this process.
quit

real 0m1.848s
user 0m1.628s
sys 0m0.206s
************************************************************
* *
* W E L C O M E to *
Expand Down Expand Up @@ -255,9 +281,7 @@ Using default text editor "vi". Set another one in ./input/mg5_configuration.txt
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
No valid web browser found. Please set in ./input/mg5_configuration.txt
treatcards run
run_card missed argument cudacpp_backend. Takes default: CPP
run_card missed argument cudacpp_backend. Takes default: CPP
run_card missed argument cudacpp_backend. Takes default: CPP
WARNING! CPPRunCard instance has no attribute path
quit
INFO:
launch in debug mode
Expand Down Expand Up @@ -291,29 +315,3 @@ treatcards param
quit
INFO:
launch in debug mode
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu; patch -p4 -i /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/mg5amcnlo/PLUGIN/CUDACPP_OUTPUT/MG5aMC_patches/PROD/patch.common
patching file Source/genps.inc
patching file Source/makefile
patching file SubProcesses/makefile
patching file Source/make_opts
patching file bin/internal/banner.py
Hunk #1 succeeded at 4188 (offset 1 line).
patching file bin/internal/gen_ximprove.py
patching file bin/internal/madevent_interface.py
DEBUG: cd /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses/P1_epem_mupmum; patch -p6 -i /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/mg5amcnlo/PLUGIN/CUDACPP_OUTPUT/MG5aMC_patches/PROD/patch.P1
patching file auto_dsig1.f
Hunk #1 succeeded at 495 (offset 26 lines).
patching file driver.f
patching file matrix1.f
Hunk #3 succeeded at 230 (offset 9 lines).
Hunk #4 succeeded at 267 (offset 18 lines).
Hunk #5 succeeded at 312 (offset 18 lines).
Output to directory /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
Type "launch" to generate events from this process, or see
/data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
Run "open index.html" to see more information about this process.
quit

real 0m2.484s
user 0m2.173s
sys 0m0.301s
1 change: 1 addition & 0 deletions epochX/cudacpp/ee_mumu.mad/Source/PDF/pdfwrap_lhapdf.f
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SUBROUTINE PDFWRAP
C
INCLUDE 'pdf.inc'
INCLUDE '../alfas.inc'
INCLUDE '../vector.inc'
INCLUDE '../coupl.inc'
REAL*8 ZMASS
DATA ZMASS/91.188D0/
Expand Down
9 changes: 2 additions & 7 deletions epochX/cudacpp/ee_mumu.mad/Source/make_opts
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
pdlabel1=
pdlabel2=
lhapdf=
PYTHIA8_PATH=NotInstalled
MG5AMC_VERSION=3.5.0_lo_vect
GLOBAL_FLAG=-O3 -ffast-math -fbounds-check
ALOHA_FLAG=
MATRIX_FLAG=
DEFAULT_CPP_COMPILER=g++
MACFLAG=
STDLIB=-lstdc++
STDLIB_FLAG=
DEFAULT_F_COMPILER=gfortran
DEFAULT_F2PY_COMPILER=f2py3
MG5AMC_VERSION=SpecifiedByMG5aMCAtRunTime
PYTHIA8_PATH=NotInstalled
#end_of_make_opts_variables

BIASLIBDIR=../../../lib/
Expand Down
4 changes: 3 additions & 1 deletion epochX/cudacpp/ee_mumu.mad/Source/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,7 @@ cleanSource:
clean: cleanSource
for i in `ls -d ../SubProcesses/P*`; do cd $$i; make clean; cd -; done;

cleanall: cleanSource
cleanavx:
for i in `ls -d ../SubProcesses/P*`; do cd $$i; make cleanavxs; cd -; done;
cleanall: cleanSource # THIS IS THE ONE
for i in `ls -d ../SubProcesses/P*`; do cd $$i; make cleanavxs; cd -; done;
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ namespace mg5amcCpu

oxxxxx<M_ACCESS, W_ACCESS>( momenta, 0., cHel[ihel][3], +1, w_fp[3], 3 );

FFV1P0_3<W_ACCESS, CI_ACCESS>( w_fp[1], w_fp[0], COUPs[0], 1.0, 0., 0., w_fp[4] );
FFV1P0_3<W_ACCESS, CI_ACCESS>( w_fp[1], w_fp[0], COUPs[ndcoup + 0], 1.0, 0., 0., w_fp[4] );

// Amplitude(s) for diagram number 1
FFV1_0<W_ACCESS, A_ACCESS, CI_ACCESS>( w_fp[2], w_fp[3], w_fp[4], COUPs[0], 1.0, &amp_fp[0] );
FFV1_0<W_ACCESS, A_ACCESS, CI_ACCESS>( w_fp[2], w_fp[3], w_fp[4], COUPs[ndcoup + 0], 1.0, &amp_fp[0] );
#ifdef MGONGPU_SUPPORTS_MULTICHANNEL
if( channelId == 1 ) numerators_sv += cxabs2( amp_sv[0] );
if( channelId != 0 ) denominators_sv += cxabs2( amp_sv[0] );
Expand All @@ -259,10 +259,10 @@ namespace mg5amcCpu
// *** DIAGRAM 2 OF 2 ***

// Wavefunction(s) for diagram number 2
FFV2_4_3<W_ACCESS, CI_ACCESS>( w_fp[1], w_fp[0], COUPs[1], 1.0, COUPs[2], 1.0, cIPD[0], cIPD[1], w_fp[4] );
FFV2_4_3<W_ACCESS, CI_ACCESS>( w_fp[1], w_fp[0], COUPs[ndcoup + 1], 1.0, COUPs[ndcoup + 2], 1.0, cIPD[0], cIPD[1], w_fp[4] );

// Amplitude(s) for diagram number 2
FFV2_4_0<W_ACCESS, A_ACCESS, CI_ACCESS>( w_fp[2], w_fp[3], w_fp[4], COUPs[1], 1.0, COUPs[2], 1.0, &amp_fp[0] );
FFV2_4_0<W_ACCESS, A_ACCESS, CI_ACCESS>( w_fp[2], w_fp[3], w_fp[4], COUPs[ndcoup + 1], 1.0, COUPs[ndcoup + 2], 1.0, &amp_fp[0] );
#ifdef MGONGPU_SUPPORTS_MULTICHANNEL
if( channelId == 2 ) numerators_sv += cxabs2( amp_sv[0] );
if( channelId != 0 ) denominators_sv += cxabs2( amp_sv[0] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ DOUBLE PRECISION FUNCTION DSIG1_VEC(ALL_PP, ALL_XBK, ALL_Q2FACT,
C
C LOCAL VARIABLES
C
DOUBLE PRECISION QSCALE
INTEGER I,ITYPE,LP,IPROC
DOUBLE PRECISION EP1(VECSIZE_MEMMAX)
DOUBLE PRECISION EM2(VECSIZE_MEMMAX)
Expand Down
10 changes: 6 additions & 4 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/dummy_fct.f
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ logical FUNCTION dummy_cuts(P)
LOGICAL IS_A_NU(NEXTERNAL),IS_HEAVY(NEXTERNAL)
logical do_cuts(nexternal)
COMMON /TO_SPECISA/IS_A_J,IS_A_A,IS_A_L,IS_A_B,IS_A_NU,IS_HEAVY,
. IS_A_ONIUM, do_cuts
& IS_A_ONIUM, do_cuts

dummy_cuts=.true.

Expand Down Expand Up @@ -118,15 +118,16 @@ double precision function user_dynamical_scale(P)


C ************************************************************
C default for the library implementing a dummt bias function
C default for the library implementing a dummy bias function
C ************************************************************
subroutine bias_wgt_custom(p, original_weight, bias_weight)
implicit none
implicit none
C
C Parameters
C
include 'nexternal.inc'
C

C
C Arguments
C
double precision p(0:3, nexternal)
Expand Down Expand Up @@ -161,3 +162,4 @@ subroutine bias_wgt_custom(p, original_weight, bias_weight)

return
end subroutine bias_wgt_custom

Loading

0 comments on commit 759e60c

Please sign in to comment.