Skip to content

Commit

Permalink
upgrade master MG5AMC to the latest gpucpp (#897)
Browse files Browse the repository at this point in the history
* [submod] update MG5AMC from 5a241ef7f (datastructure_coloramp branch) to the latest gpucpp ff76bb24b (after merging icolamp mg5amcnlo#118 and gridpack mg5amcnlo#107)

* [submod] ** COMPLETE SUBMOD ** regenerate all processes: apart from CODEGEN logs, the only differences are in restore_data (mg5amcnlo#107)
  • Loading branch information
valassi authored Jul 16, 2024
1 parent d23edb5 commit f0670ea
Show file tree
Hide file tree
Showing 35 changed files with 407 additions and 487 deletions.
2 changes: 1 addition & 1 deletion MG5aMC/mg5amcnlo
18 changes: 9 additions & 9 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.0053675174713134766 
DEBUG: model prefixing takes 0.0056552886962890625 
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 @@ -177,7 +177,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 1151] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f6d5db19760> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f2b00742760> [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 @@ -198,19 +198,19 @@ INFO: Finding symmetric diagrams for subprocess group epem_mupmum
DEBUG: iconfig_to_diag =  {1: 1, 2: 2} [model_handling.py at line 1543] 
DEBUG: diag_to_iconfig =  {1: 1, 2: 2} [model_handling.py at line 1544] 
Generated helas calls for 1 subprocesses (2 diagrams) in 0.004 s
Wrote files for 8 helas calls in 0.112 s
Wrote files for 8 helas calls in 0.113 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.198 s
ALOHA: aloha creates 3 routines in 0.203 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 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.262 s
ALOHA: aloha creates 7 routines in 0.252 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
Expand Down Expand Up @@ -255,10 +255,10 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.114s
user 0m1.793s
sys 0m0.254s
Code generation completed in 2 seconds
real 0m2.096s
user 0m1.833s
sys 0m0.242s
Code generation completed in 3 seconds
************************************************************
* *
* W E L C O M E to *
Expand Down
42 changes: 18 additions & 24 deletions epochX/cudacpp/ee_mumu.mad/bin/internal/restore_data
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,24 @@ for i in `cat subproc.mg` ; do
else
cp results.dat $1_results.dat >& /dev/null
fi
for k in G* ; do
if [[ ! -d $k ]]; then
continue
fi
cd $k
for j in $1_results.dat ; do
if [[ -e $j ]] ; then
cp $j results.dat
else
cp results.dat $j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e $j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip $j
cp $1_ftn26 ftn26
gzip $1_ftn26
fi
done
cd ../
done
cd ../
done


find . -mindepth 2 -maxdepth 2 -type d -name 'G*' -print0 \
| xargs --null -P "$(nproc --all)" -I{} bash -c "
cd {}
for j in $1_results.dat ; do
if [[ -e \$j ]] ; then
cp \$j results.dat
else
cp results.dat \$j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e \$j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip --keep \$j
mv $1_ftn26 ftn26
fi
done"
12 changes: 6 additions & 6 deletions epochX/cudacpp/ee_mumu.sa/CODEGEN_cudacpp_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.0060863494873046875 
DEBUG: model prefixing takes 0.005468606948852539 
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 @@ -184,7 +184,7 @@ ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates FFV2_4 routines
ALOHA: aloha creates 4 routines in 0.267 s
ALOHA: aloha creates 4 routines in 0.265 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
Expand All @@ -203,7 +203,7 @@ INFO: Created files Parameters_sm.h and Parameters_sm.cc in directory
INFO: /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_cudacpp_ee_mumu/src/. and /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_cudacpp_ee_mumu/src/.
quit

real 0m0.729s
user 0m0.659s
sys 0m0.062s
Code generation completed in 0 seconds
real 0m0.879s
user 0m0.797s
sys 0m0.076s
Code generation completed in 1 seconds
14 changes: 7 additions & 7 deletions epochX/cudacpp/gg_tt.mad/CODEGEN_mad_gg_tt_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ generate g g > t t~
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.0055196285247802734 
DEBUG: model prefixing takes 0.005348682403564453 
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 @@ -178,7 +178,7 @@ INFO: Generating Helas calls for process: g g > t t~ WEIGHTED<=2 @1
INFO: Processing color information for process: g g > t t~ @1
INFO: Creating files in directory P1_gg_ttx
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1151] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f7a61bfe880> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f0924e2d880> [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 @@ -198,7 +198,7 @@ INFO: Finding symmetric diagrams for subprocess group gg_ttx
DEBUG: iconfig_to_diag =  {1: 1, 2: 2, 3: 3} [model_handling.py at line 1543] 
DEBUG: diag_to_iconfig =  {1: 1, 2: 2, 3: 3} [model_handling.py at line 1544] 
Generated helas calls for 1 subprocesses (3 diagrams) in 0.006 s
Wrote files for 10 helas calls in 0.114 s
Wrote files for 10 helas calls in 0.116 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
Expand All @@ -207,7 +207,7 @@ ALOHA: aloha creates 2 routines in 0.144 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates 4 routines in 0.133 s
ALOHA: aloha creates 4 routines in 0.131 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand Down Expand Up @@ -244,9 +244,9 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m1.902s
user 0m1.650s
sys 0m0.249s
real 0m2.001s
user 0m1.648s
sys 0m0.240s
Code generation completed in 2 seconds
************************************************************
* *
Expand Down
42 changes: 18 additions & 24 deletions epochX/cudacpp/gg_tt.mad/bin/internal/restore_data
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,24 @@ for i in `cat subproc.mg` ; do
else
cp results.dat $1_results.dat >& /dev/null
fi
for k in G* ; do
if [[ ! -d $k ]]; then
continue
fi
cd $k
for j in $1_results.dat ; do
if [[ -e $j ]] ; then
cp $j results.dat
else
cp results.dat $j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e $j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip $j
cp $1_ftn26 ftn26
gzip $1_ftn26
fi
done
cd ../
done
cd ../
done


find . -mindepth 2 -maxdepth 2 -type d -name 'G*' -print0 \
| xargs --null -P "$(nproc --all)" -I{} bash -c "
cd {}
for j in $1_results.dat ; do
if [[ -e \$j ]] ; then
cp \$j results.dat
else
cp results.dat \$j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e \$j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip --keep \$j
mv $1_ftn26 ftn26
fi
done"
12 changes: 6 additions & 6 deletions epochX/cudacpp/gg_tt.sa/CODEGEN_cudacpp_gg_tt_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ generate g g > t t~
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.005663156509399414 
DEBUG: model prefixing takes 0.0054988861083984375 
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 @@ -183,7 +183,7 @@ Generated helas calls for 1 subprocesses (3 diagrams) in 0.006 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates 2 routines in 0.142 s
ALOHA: aloha creates 2 routines in 0.140 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand All @@ -198,7 +198,7 @@ INFO: Created files Parameters_sm.h and Parameters_sm.cc in directory
INFO: /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_cudacpp_gg_tt/src/. and /data/avalassi/GPU2023/madgraph4gpuX/MG5aMC/TMPOUT/CODEGEN_cudacpp_gg_tt/src/.
quit

real 0m0.529s
user 0m0.480s
sys 0m0.042s
Code generation completed in 0 seconds
real 0m0.556s
user 0m0.476s
sys 0m0.047s
Code generation completed in 1 seconds
18 changes: 9 additions & 9 deletions epochX/cudacpp/gg_tt01g.mad/CODEGEN_mad_gg_tt01g_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ generate g g > t t~
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.0054836273193359375 
DEBUG: model prefixing takes 0.005453348159790039 
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 @@ -188,7 +188,7 @@ INFO: Generating Helas calls for process: g g > t t~ WEIGHTED<=2 @1
INFO: Processing color information for process: g g > t t~ @1
INFO: Creating files in directory P2_gg_ttxg
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1151] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fc63ad550a0> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f7928e310a0> [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 @@ -209,7 +209,7 @@ INFO: Finding symmetric diagrams for subprocess group gg_ttxg
DEBUG: diag_to_iconfig =  {1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15} [model_handling.py at line 1544] 
INFO: Creating files in directory P1_gg_ttx
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1151] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fc63aededf0> [export_v4.py at line 6261] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7f7928fbadf0> [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 @@ -229,22 +229,22 @@ INFO: Finding symmetric diagrams for subprocess group gg_ttx
DEBUG: iconfig_to_diag =  {1: 1, 2: 2, 3: 3} [model_handling.py at line 1543] 
DEBUG: diag_to_iconfig =  {1: 1, 2: 2, 3: 3} [model_handling.py at line 1544] 
Generated helas calls for 2 subprocesses (19 diagrams) in 0.042 s
Wrote files for 46 helas calls in 0.272 s
Wrote files for 46 helas calls in 0.271 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 routines
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVVV1 set of routines with options: P0
ALOHA: aloha creates VVVV3 set of routines with options: P0
ALOHA: aloha creates VVVV4 set of routines with options: P0
ALOHA: aloha creates 5 routines in 0.322 s
ALOHA: aloha creates 5 routines in 0.324 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 set of routines with options: P0
ALOHA: aloha creates VVVV3 set of routines with options: P0
ALOHA: aloha creates VVVV4 set of routines with options: P0
ALOHA: aloha creates 10 routines in 0.314 s
ALOHA: aloha creates 10 routines in 0.310 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
Expand Down Expand Up @@ -294,9 +294,9 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.851s
user 0m2.329s
sys 0m0.315s
real 0m3.373s
user 0m2.333s
sys 0m0.323s
Code generation completed in 3 seconds
************************************************************
* *
Expand Down
42 changes: 18 additions & 24 deletions epochX/cudacpp/gg_tt01g.mad/bin/internal/restore_data
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,24 @@ for i in `cat subproc.mg` ; do
else
cp results.dat $1_results.dat >& /dev/null
fi
for k in G* ; do
if [[ ! -d $k ]]; then
continue
fi
cd $k
for j in $1_results.dat ; do
if [[ -e $j ]] ; then
cp $j results.dat
else
cp results.dat $j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e $j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip $j
cp $1_ftn26 ftn26
gzip $1_ftn26
fi
done
cd ../
done
cd ../
done


find . -mindepth 2 -maxdepth 2 -type d -name 'G*' -print0 \
| xargs --null -P "$(nproc --all)" -I{} bash -c "
cd {}
for j in $1_results.dat ; do
if [[ -e \$j ]] ; then
cp \$j results.dat
else
cp results.dat \$j
fi
done
for j in $1_ftn26.gz ; do
if [[ -e \$j ]]; then
rm -f ftn26 >& /dev/null
rm -f $1_ftn26 >& /dev/null
gunzip --keep \$j
mv $1_ftn26 ftn26
fi
done"
Loading

0 comments on commit f0670ea

Please sign in to comment.