Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
cf1b21b
[CODEGEN] Correctly sets target if madevent is in $MAKECMDGOALS
Jooorgen Sep 28, 2023
75c5be6
[CODEGEN] Regenerated all .sa/.mad processes
Jooorgen Sep 29, 2023
39621f4
[jtmk] prepare to merge upstream/master into Jorgen's makefileTargets…
valassi Dec 15, 2023
714ef1b
Merge remote-tracking branch 'upstream/master' into jtmk
valassi Dec 15, 2023
b826279
[jtmk] in CODEGEN, fix curand handling in cudacpp.mk (use upstream/ma…
valassi Dec 15, 2023
b5af0c1
[jtmk] in CODEGEN, manually change patch.common to try and fix the is…
valassi Dec 15, 2023
e9a7a59
[jtmk] regenerate gg_tt.mad: this looks more correct than what I had …
valassi Dec 15, 2023
7ca6dbe
Merge remote-tracking branch 'upstream/master' (including merged PR #…
valassi Dec 16, 2023
e791a5c
[jtmk] regenerate gg_tt.mad (after merging upstream/master) - ok, cha…
valassi Dec 16, 2023
5e55e66
[jtmk] regenerate gg_tt.sa and test the new makefile targets there, b…
valassi Dec 16, 2023
11d423e
[jtmk] in gg_tt.sa makefiles, reorder author names in alphabetical order
valassi Dec 16, 2023
7f65c14
[jtmk] in gg_tt.sa makefiles, improve the comments about the inclusio…
valassi Dec 17, 2023
5302064
[jtmk] in gg_tt.sa cudacpp.mk, (temporarely?) remove indentation of c…
valassi Dec 17, 2023
4f55af9
[jtmk] in gg_tt.sa cudacpp_src.mk, (temporarely?) remove indentation …
valassi Dec 17, 2023
3293256
[jtmk] in gg_tt.sa cudacpp.mk, (temporarely?) remove indentation of c…
valassi Dec 17, 2023
1e52888
[jtmk] in gg_tt.sa makefiles, replace AVX by BACKEND (and add S. Hage…
valassi Dec 17, 2023
d6236dd
[jtmk] in gg_tt.sa cudacpp.mk, change the backend logic in Jorgen's i…
valassi Dec 17, 2023
7370b74
[jtmk] in gg_tt.sa cudacpp_src.mk, change Jorgen's implementation to …
valassi Dec 17, 2023
4af2086
[jtmk] in gg_tt.sa cudacpp.mk, use the $(if..) statement to inline th…
valassi Dec 17, 2023
a567cd0
[CODEGEN] Instantiate madgraph test cases also for CUDA builds.
hageboeck Nov 28, 2023
8c48e50
[jtmk] in gg_tt.sa MadgraphTest.h, manually copy the new template fro…
valassi Dec 17, 2023
60f22a0
[jtmk] in gg_tt.sa MadgraphTest.h, add back and comment out the prote…
valassi Dec 17, 2023
3dd14f1
[jtmk] backport gg_tt.sa MadgraphTest.h to CODEGEN: add back and comm…
valassi Dec 17, 2023
30ec2f1
[jtmk] in gg_tt.sa cudacpp.mk, fix the builds of runTest.exe for CPU …
valassi Dec 17, 2023
f467a86
[jtmk] in gg_tt.sa cudacpp.mk, remove the fbridge.inc dependency (as …
valassi Dec 17, 2023
10aaf2b
[jtmk] backport gg_tt.sa cudacpp.mk and cudacpp_src.mk to CODEGEN (se…
valassi Dec 17, 2023
07168da
[jtmk] regenerate gg_tt.sa - all ok, changes only in codegen log
valassi Dec 17, 2023
6206480
[jtmk] regenerate gg_tt.mad, using the new cudacpp makefiles develope…
valassi Dec 17, 2023
e76656f
[jtmk] in gg_tt.mad SubProcesses/makefile, change Jorgen's implementa…
valassi Dec 17, 2023
e8c81d1
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 17, 2023
c6a08bc
[jtmk] in CODEGEN patchMad.sh and generateAndCompare.sh, attempt seve…
valassi Dec 14, 2023
e39c8b2
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 17, 2023
f0e802f
[jtmk] in CODEGEN patchMad.sh and generateAndCompare.sh, attempt an a…
valassi Dec 17, 2023
3ec58a2
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 17, 2023
37d2172
[jtmk] regenerate gg_tt.mad after fixing make_opts in CODEGEN scripts…
valassi Dec 17, 2023
c9a69af
[jtmk] adapt tput/throughputX.sh to the new strategy with separate bu…
valassi Dec 17, 2023
43215e0
[jtmk] adapt tput/teeThroughputX.sh to the new strategy with separate…
valassi Dec 17, 2023
cc4e56a
[jtmk] in tput/throughputX.sh, ensure cuda tests come before cpp test…
valassi Dec 17, 2023
086592e
[jtmk] in gg_tt.mad makefiles, ensure cuda builds come before cpp tes…
valassi Dec 17, 2023
cf9e8e4
[jtmk] in gg_tt.mad makefiles, ensure curand is used in C++ builds if…
valassi Dec 17, 2023
66f582a
[jtmk] backport gg_tt.sa cudacpp.mk and cudacpp_src.mk to CODEGEN wit…
valassi Dec 17, 2023
ae170ae
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 17, 2023
ef10da8
[jtmk] regenerate gg_tt.mad after fixing rndgen - now all is ok, only…
valassi Dec 17, 2023
f235b12
[jtmk] rerun tput tests for ggtt - looks ~ok, but GPU runTest is missing
valassi Dec 17, 2023
a25806c
[jtmk] regenerate all processes
valassi Dec 17, 2023
c237825
[jtmk] in tput/throughputX.sh, ensure that runTest.exe is executed al…
valassi Dec 17, 2023
25c9a8e
[jtmk] rerun tput tests for ggtt - better, now GPU runTest is also ex…
valassi Dec 17, 2023
bb0ee67
[jtmk] in ggtt.mad SubProcesses/makefile, disable ccache for fortran …
valassi Dec 14, 2023
872da8b
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 17, 2023
54521e2
[jtmk] regenerate all processes
valassi Dec 17, 2023
956dd2e
[jtmk] in .github/workflows/testsuite_oneprocess.sh, adapt CI to new …
valassi Dec 17, 2023
cb377e4
[jtmk] in .github/workflows/c-cpp.yml, use BACKEND=cuda (instead of R…
valassi Dec 17, 2023
f862975
[jtmk] adapt tmad/madX.sh to the new strategy with separate builds fo…
valassi Dec 17, 2023
a50b397
[jtmk] adapt tmad/teeMadX.sh to the new strategy with separate builds…
valassi Dec 17, 2023
486c7fc
[jtmk] rerun tmad tests for ggtt - all looks ok, should be able to ru…
valassi Dec 17, 2023
4e3e2af
[jtmk] rerun 78 tput tests for the first time after separating CUDA a…
valassi Dec 18, 2023
934fd60
[jtmk] rerun 18 tmad tests for the first time after separating CUDA a…
valassi Dec 18, 2023
0b78956
[jtmk] in CODEGEN, remove make_opts patches from patchMad.sh as reque…
valassi Dec 18, 2023
b64888f
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common *without make…
valassi Dec 18, 2023
20797e1
[jtmk] regenerate all processes after removing make_opts from CODEGEN…
valassi Dec 18, 2023
383ea28
[jtmk] in gg_tt.mad makefile, fix the build target madevent_cuda_link…
valassi Dec 18, 2023
b1cf1af
[jtmk] in gg_tt.mad makefile, add build targets madevent_cpp<avx>_lin…
valassi Dec 18, 2023
8909656
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.mad
valassi Dec 18, 2023
dafc068
[jtmk] in CODEGEN launch_plugin.py, remove avx_level and encapsulate …
valassi Dec 19, 2023
4eb0777
[jtmk] regenerate gg_tt.mad: remove avx_level and encapsulate it in c…
valassi Dec 19, 2023
c618013
[jtmk] in gg_tt.mad, use the new cudacpp_backend including avx in gen…
valassi Dec 19, 2023
2fed5a2
[jtmk] in tlau/lauX.sh, use the new backends (fortran, cuda, cppnone,…
valassi Dec 19, 2023
ce78900
[jtmk] in tlau, rename logs_<xxx>_FORTRAN|CUDA|CPP to logs_<xxx>_fort…
valassi Dec 19, 2023
83280fd
[jtmk] in tlau/lauX.sh, avoid saving lhe files in git, as no LHE comp…
valassi Dec 19, 2023
c08d643
[jtmk] in tlau/logs*, remove lhe and txt files but keep run_01 direct…
valassi Dec 19, 2023
519506a
[jtmk] fix tlau/allTees.sh with new backend variables
valassi Dec 19, 2023
1f9a12e
[jtmk] rerun tlau tests for ggtt - all looks good (physics results ch…
valassi Dec 19, 2023
d4d6881
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Dec 19, 2023
22746fb
[jtmk] regenerate all processes - only makefiles (for madevent links)…
valassi Dec 19, 2023
46ad9f2
[jtmk] rerun tlau alltees - technically ok, but probable physics issu…
valassi Dec 20, 2023
a1bcff2
[jtmk] ** COMPLETE JTMK ** dump global START/END timestamps in tlau/a…
valassi Dec 20, 2023
7c6c93c
[gpucpp] update the MG5AMC/mg5amcnlo submodule to the latest commit e…
valassi Jan 31, 2024
8cd7316
[jtmk] prepare to merge with upstream/master: checkout common ancesto…
valassi Mar 25, 2024
fe47b3d
Merge remote-tracking branch 'upstream/master' into jtmk
valassi Mar 25, 2024
5830f26
[jtmk] in CODEGEN, fix merge conflicts in patch.P1 and patch.common
valassi Mar 25, 2024
de21d31
[jtmk] in CODEGEN, fix merge conflicts in launch_plugin.py
valassi Mar 25, 2024
1b70701
[jtmk] in CODEGEN, fix merge conflicts in MadgraphTest.h
valassi Mar 25, 2024
5d935b5
[jtmk] in CODEGEN, fix merge conflicts in cudacpp_src.mk
valassi Mar 25, 2024
057618e
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (fix …
valassi Mar 25, 2024
5a74495
[jtmk] in CODEGEN cudacpp.mk, add hip to SUPPORTED_BACKENDS (the allo…
valassi Mar 25, 2024
ea1a20f
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (hand…
valassi Mar 25, 2024
d712983
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (conf…
valassi Mar 25, 2024
6e879f1
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (BACK…
valassi Mar 25, 2024
bc4a8a7
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (an e…
valassi Mar 25, 2024
b6aa4ae
[jtmk] in CODEGEN, partial fix of merge conflicts in cudacpp.mk (link…
valassi Mar 25, 2024
d978a8a
[jtmk] in CODEGEN, finally complete the draft fix of merge conflicts …
valassi Mar 25, 2024
bb1799a
[jtmk] regenerate gg_tt.sa after merging jtmk with master and fixing …
valassi Mar 25, 2024
846989f
[jtmk] in gg_tt.sa cudacpp.mk, fix 'make BACKEND=cuda'
valassi Mar 25, 2024
bbb0362
[jtmk] in CODEGEN (backport from gg_tt.sa) cudacpp.mk, fix 'make BACK…
valassi Mar 25, 2024
f30f085
[jtmk] regenerate gg_tt.sa - no change, all as expected
valassi Mar 25, 2024
6d335d7
[jtmk] in gg_tt.sa cudacpp.mk and cudacpp_src.mk, export TAG and DIRT…
valassi Mar 25, 2024
0295d96
[jtmk] in CODEGEN (backport gg_tt.sa) cudacpp.mk and cudacpp_src.mk, …
valassi Mar 25, 2024
2ed651d
[jtmk] in CODEGEN cudacpp_src.mk, remove the comment about RNDCXXFLAG…
valassi Mar 25, 2024
4413bc2
[jtmk] regenerate gg_tt.sa - all as expected
valassi Mar 25, 2024
67cfcad
[jtmk] in CODEGEN cudacpp.mk, remove CURANDLIBFLAGS, as this is now h…
valassi Mar 25, 2024
dfd9d46
[jtmk] in CODEGEN cudacpp.mk, by default assume that curand is instal…
valassi Mar 25, 2024
f155566
[jtmk] regenerate gg_tt.sa: fix hasCurand for c++ builds, and remove …
valassi Mar 25, 2024
d0b6a0e
[jtmk] in gg_tt.sa cudacpp.mk, replace CUFLAGS by GPUFLAGS - this fix…
valassi Mar 25, 2024
5a287db
[jtmk] in CODEGEN (backport from gg_tt.sa) cudacpp.mk, replace CUFLAG…
valassi Mar 25, 2024
dd58cb3
[jtmk] regenerate gg_tt.sa, all ok as expected
valassi Mar 25, 2024
eac40bc
[jtmk] in CODEGEN cudacpp.mk, rename CUINC/HIPINC as CUDA_INC/HIP_INC…
valassi Mar 25, 2024
8657e43
[jtmk] in CODEGEN cudacpp.mk, remove CUDATESTFLAGS and inline -lcuda …
valassi Mar 25, 2024
4216021
[jtmk] regenerate gg_tt.sa with latest codegen
valassi Mar 25, 2024
87c8c22
[jtmk] in CODEGEN cudacpp.mk, fix HIP builds (use GPUCC not empty ins…
valassi Mar 25, 2024
2c1633f
[jtmk] regenerate gg_tt.sa with HIP fixes
valassi Mar 25, 2024
8d4c84a
[jtmk] in CODEGEN, remove CUBUILDRULEFLAGS and CCBUILDRULEFLAGS, repl…
valassi Mar 25, 2024
85986fc
[jtmk] regenerate gg_tt.sa with latest codegen
valassi Mar 25, 2024
1fe46da
[jtmk] in CODEGEN, add 'cpp' to all C++ BACKEND values (now cppnone c…
valassi Mar 25, 2024
1ea95c5
[jtmk] in CODEGEN cudacpp.mk, bug fix: AVXFLAGS were not correctly ap…
valassi Mar 25, 2024
f082ed7
[jtmk] regenerate gg_tt.sa, now AVXFLAGS are ok
valassi Mar 25, 2024
7284be6
[jtmk] in CODEGEN cudacpp.mk, add a sanity check that an empty GPUCC …
valassi Mar 25, 2024
3709374
[jtmk] in CODEGEN cudacpp.mk, clean up build flags for nvcc and hipcc
valassi Mar 25, 2024
1ad9ec7
[jtmk] regenerate gg_tt.sa
valassi Mar 25, 2024
210ae0a
[jtmk] in CODEGEN cudacpp.mk, removeGPUARCHFLAGS from the linker ste …
valassi Mar 25, 2024
1f71a94
[jtmk] regenerate gg_tt.sa
valassi Mar 25, 2024
c7b5350
[jtmk] in CODEGEN cudacpp.mk, clean up CUDA-specific comments to ment…
valassi Mar 25, 2024
31d2da0
[jtmk] in CODEGEN cudacpp.mk, add bldhip target and add it to bldall …
valassi Mar 25, 2024
057390b
[jtmk] in CODEGEN cudacpp.mk, rename the GOU library with a _cu or _h…
valassi Mar 25, 2024
72ad23a
[jtmk] in CODEGEN cudacpp.mk, rename all CULIB* as GPULIB*
valassi Mar 25, 2024
3884255
[jtmk] in CODEGEN cudacpp.mk, move back to -lineinfo to a separate CU…
valassi Mar 25, 2024
e2d41a0
[jtmk] regenerate gg_tt.sa
valassi Mar 25, 2024
c16c46c
[jtmk] in CODEGEN cudacpp.mk, replace all _cu.o by _gpu.o
valassi Mar 25, 2024
1c397a6
[jtmk] in CODEGEN cudacpp.mk, replace all cu_ variables by gpu_ varia…
valassi Mar 25, 2024
4cf5b76
[jtmk] in CODEGEN, manually fix patch.common after wrongly fixing a m…
valassi Mar 25, 2024
21f1887
[jtmk] regenerate gg_tt.mad - the build fails (I renamed the _cuda li…
valassi Mar 25, 2024
935203e
[jtmk] in gg_tt.mad makefile, rename CUDACPP_CULIB as CUDACPP_GPULIB
valassi Mar 25, 2024
ffff498
[jtmk] in gg_tt.mad makefile, add madevent_hip for BACKEND=hip
valassi Mar 25, 2024
7d08f4f
[jtmk] in gg_tt.mad makefile, use 'which hipcc' and 'which nvcc' to d…
valassi Mar 25, 2024
5abe422
[jtmk] in gg_tt.mad makefile, fix madevent_cuda/hip dependency on the…
valassi Mar 25, 2024
38653f1
[jtmk] in gg_tt.mad makefile, add 'cpp' to all C++ BACKEND values (no…
valassi Mar 25, 2024
08f0ec6
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.mad
valassi Mar 25, 2024
416a1aa
[jtmk] regenerate gg_tt.mad, all ok as expected
valassi Mar 25, 2024
e65c467
[jtmk] in CODEGEN cudacpp.mk, rename the GPU library with _cuda or _h…
valassi Mar 25, 2024
d5cdb73
[jtmk] in CODEGEN cudacpp.mk, replace all _gpu.o by _cuda.o or _hip.o…
valassi Mar 25, 2024
0d24b1c
[jtmk] regenerate gg_tt.mad
valassi Mar 25, 2024
92ef94f
[jtmk] in gg_tt.mad makefile, rename back the _cu library as _cuda
valassi Mar 25, 2024
47271a8
[jtmk] in CODEGEN, regenerate patch.P1 and patch.common from gg_tt.ma…
valassi Mar 25, 2024
0899cd9
[jtmk] regenerate gg_tt.mad, all ok as expected
valassi Mar 25, 2024
7879b23
[jtmk] regenerate all processes
valassi Mar 25, 2024
4075c2c
[jtmk] in .github testsuite_oneprocess.sh, fix backend names, add hip…
valassi Mar 25, 2024
a651bc2
[jtmk] in .github c-cpp.yml, replace AVX by BACKEND, and add a backen…
valassi Mar 25, 2024
9bd8ba5
[jtmk] in CODEGEN cudacpp.mk, for backward compatibility strip leadin…
valassi Mar 26, 2024
882a4d6
[jtmk] regenerate gg_tt.mad
valassi Mar 26, 2024
92ee244
[jtmk] try a simple tput test for gg_tt, all looks ok
valassi Mar 26, 2024
a95f981
[jtmk] run a first tmad test for gg_tt, all looks ok
valassi Mar 26, 2024
4706713
[jtmk] in tput/throughputX.sh, add separate hip builds as done for cuda
valassi Mar 26, 2024
9f7dfa0
[jtmk] start adding hip to tmad/madX.sh
valassi Mar 26, 2024
68b30e3
[jtmk] in tmad/madX.sh, replace avx by backend
valassi Mar 26, 2024
e150c71
[jtmk] complete support for hip in tmad/madX.sh
valassi Mar 26, 2024
d9fd149
[jtmk] run again the tmad test for gg_tt, all looks ok
valassi Mar 26, 2024
e88198f
[jtmk] add hip support to tlau/lauX.sh
valassi Mar 26, 2024
af4d326
[jtmk] in CODEGEN launch_plugin.py and patch.common, add hip to the l…
valassi Mar 26, 2024
05ff70d
[jtmk] in CODEGEN patch.common, fix the madevent_cppavx2 and similar …
valassi Mar 26, 2024
111f9dd
[jtmk] regenerate gg_tt.mad
valassi Mar 26, 2024
46f5c31
[jtmk] in CODEGEN cudacpp.mk, remove stripping of white apaces around…
valassi Mar 26, 2024
5050e9d
[jtmk] in CODEGEN cudacpp.mk, move to the beginning the check of user…
valassi Mar 26, 2024
4aa6c99
[jtmk] in CODEGEN cudacpp.mk, move to the beginning the check of user…
valassi Mar 26, 2024
a213d28
[jtmk] in CODEGEN cudacpp.mk, move to the beginning the definition of…
valassi Mar 26, 2024
a64780f
[jtmk] in CODEGEN cudacpp.mk, move to the beginning the printout of B…
valassi Mar 26, 2024
edbda25
[jtmk] in CODEGEN, move CUDACPP_BUILDDIR from cudacpp.mk to a new fil…
valassi Mar 26, 2024
fd30351
[jtmk] regenerate gg_tt.mad with the new cudacpp_builddir.mk #829
valassi Mar 26, 2024
d0c59f2
[jtmk] in gg_tt.mad, finally get rid of 'make -f cudacpp -pn' to dete…
valassi Mar 26, 2024
045cfad
[jtmk] in CODEGEN (backport gg_tt.mad), finally get rid of 'make -f c…
valassi Mar 26, 2024
a470b4f
[jtmk] in CODEGEN, finally disable the possibility to set CUDA_HOME o…
valassi Mar 26, 2024
2d496f3
[jtmk] regenerate gg_tt.mad
valassi Mar 26, 2024
0ecad67
[jtmk] in CODEGEN, improve debug printouts for BACKEND, FPTYPE, HELIN…
valassi Mar 26, 2024
fd1a4a5
[jtmk] regenerate gg_tt.mad
valassi Mar 26, 2024
9050a15
[jtmk] regenerate all processses (now including src/cudacpp_builddir.…
valassi Mar 26, 2024
77fd994
[jtmk] in CODEGEN cudacpp.mk, fix 'make cleanall' (it was failing to …
valassi Mar 26, 2024
159f09e
[jtmk] regenerate gg_tt.sa
valassi Mar 26, 2024
5fb9600
[jtmk] in CODEGEN cudacpp.mk, move generic targets (using CXXFLAGS) a…
valassi Mar 26, 2024
d8d6e16
[jtmk] in CODEGEN cudacpp.mk, remove generic targets to build from .c…
valassi Mar 26, 2024
482fcd7
[jtmk] in CODEGEN cudacpp.mk, remove INCFLAGS from CXXFLAGS and GPUFL…
valassi Mar 26, 2024
305b5ac
[jtmk] in CODEGEN cudacpp_src.mk, remove INCFLAGS from CXXFLAGS and G…
valassi Mar 26, 2024
2d0d3d9
[jtmk] regenerate gg_tt.sa
valassi Mar 26, 2024
2db79af
[jtmk] in CODEGEN cudacpp.mk, export CXXFLAGS so that it can be used …
valassi Mar 26, 2024
d618bd4
[jtmk] in CODEGEN cudacpp.mk and cudacpp_src.mk use a consistent appr…
valassi Mar 26, 2024
c956168
[jtmk] regenerate gg_tt.sa
valassi Mar 26, 2024
a20b969
[jtmk] in gg_tt.sa, add some debug printouts to show that CXXFLAGS fr…
valassi Mar 26, 2024
019e9cb
[jtmk] in gg_tt.sa, simplify cudacpp_src.mk by using the CXXFLAGS exp…
valassi Mar 26, 2024
935f37c
[jtmk] in CODEGEN (backport gg_tt.sa), simplify cudacpp_src.mk by usi…
valassi Mar 26, 2024
ab0195e
[jtmk] regenerate gg_tt.sa - all ok, no change
valassi Mar 26, 2024
18e83e6
[jtmk] in CODEGEN, further simplify cudacpp_src.mk by removing OPTFLAGS
valassi Mar 26, 2024
bcc36c4
[jtmk] regenerate gg_tt.sa
valassi Mar 26, 2024
3cda728
[jtmk] in gg_tt.sa, add some debug printouts for GPUFLAGS
valassi Mar 26, 2024
b5f0228
[jtmk] in gg_tt.sa, simplify cudacpp_src.mk by removing GPUFLAGS frag…
valassi Mar 26, 2024
c33c241
[jtmk] in CODEGEN (backport gg_tt.sa), simplify cudacpp_src.mk by rem…
valassi Mar 26, 2024
18600e6
[jtmk] regenerate gg_tt.sa - all ok no change
valassi Mar 26, 2024
087bed9
[jtmk] in CODEGEN and gg_tt.sa cudacpp.mk, remove 'export BACKEND' wh…
valassi Mar 26, 2024
68ba52d
[jtmk] in CODEGEN cudacpp_src.mk, BUG FIX in library build: avoid com…
valassi Mar 26, 2024
c7a3d6f
[jtmk] regenerate gg_tt.sa
valassi Mar 26, 2024
3205870
[jtmk] in CODEGEN, further cleanup of cudacpp.mk: indent all if/endif…
valassi Mar 26, 2024
af9ed34
[jtmk] in CODEGEN, further cleanup of cudacpp_src.mk: indent all if/e…
valassi Mar 26, 2024
a3917d9
[jtmk] regenerate gg_tt.mad - note, cppauto builds fail:
valassi Mar 26, 2024
a4c5f5d
[jtmk] in gg_tt.mad, bug fix for cppauto builds: ensure that the buil…
valassi Mar 26, 2024
8a09da7
[jtmk] in CODEGEN (backport gg_tt.mad), bug fix for cppauto builds: e…
valassi Mar 26, 2024
e351afa
[jtmk] regenerate gg_tt.mad, all ok, no change
valassi Mar 26, 2024
71dc301
[jtmk] regenerate all processes
valassi Mar 26, 2024
807a4e0
[jtmk] in CODEGEN cudacpp_builddir.mk, fix build dir names (should be…
valassi Mar 26, 2024
aacd53f
[jtmk] manually propagate cudacpp_builddir.mk fir to all processes
valassi Mar 26, 2024
8849c1c
[jtmk] rerun 78 tput tests on itscrd90, all ok
valassi Mar 27, 2024
ad33013
[jtmk] rerun 18 tmad tests on itscrd90, all ok
valassi Mar 27, 2024
29448b7
[jtmk] rerun 78 tput tests on itgold91, all ok - no GPU, but a Gold A…
valassi Apr 4, 2024
3d2e192
[jtmk] rerun 18 tmad tests on itgold91, all ok - no GPU, but a Gold A…
valassi Apr 4, 2024
d1e2242
[jtmk] go back to itscrd90 logs
valassi Apr 4, 2024
78a0a96
[jtmk] rerun 72 tput tests on LUMI - all ok (with known errors on gqttq)
valassi Apr 4, 2024
7c0b286
[jtmk] rerun 18 tmad tests on LUMI, all ok (except for gqttq as usual)
valassi Apr 5, 2024
bf1fd0d
[jtmk] go back to 90 itscrd90 logs
valassi Apr 5, 2024
c8e11c9
[jtmk] in CODEGEN, rename cudacpp_builddir.mk as cudacpp_config.mk
valassi Apr 9, 2024
0875185
[jtmk] regenerate gg_tt.mad after renaming cudacpp_builddir.mk as cud…
valassi Apr 9, 2024
81206c0
[jtmk] rerun one tput tests for ggtt.mad as a cross check - all ok wi…
valassi Apr 9, 2024
a64cd33
[jtmk] revert previous test log of ggtt tput test
valassi Apr 9, 2024
4d1973e
[jtmk] ** COMPLETE JTMK ** regenerate all processes after renaming cu…
valassi Apr 9, 2024
0b7a870
[jtmk] checkout tput/tmad/codegene logs from upstream/master to allow…
valassi Apr 9, 2024
6199e05
Merge remote-tracking branch 'upstream/master' (with SUSY #824 and SM…
valassi Apr 9, 2024
f29f29e
[heft] recreate CODEGEN patch.common from gg_tt,mad just to be sure -…
valassi Apr 9, 2024
33cceaf
[jtmk] regenerate all processes after merging SUSY/SMEFT - many chang…
valassi Apr 9, 2024
ee40b86
[jtmk] prepare to merge with upstream/master: checkout common ancesto…
valassi May 14, 2024
6b83f47
[jtmk] also execute "git rm heft_gg_h.sa/src/cudacpp_config.mk" befor…
valassi May 14, 2024
8be3c30
Merge remote-tracking branch 'upstream/master' (including HEFT/FPE PR…
valassi May 14, 2024
f937901
[jtmk] regenerate all processes - and add new files for BSM processes
valassi May 14, 2024
bd95446
[jtmk] in gg_tt.mad testxxx.cc, remove '#ifndef MGONGPUCPP_GPUIMPL' f…
valassi May 14, 2024
b5c2d38
[jtmk] in CODEGEN testxxx.cc, remove '#ifndef MGONGPUCPP_GPUIMPL' fro…
valassi May 14, 2024
f124889
[jtmk] in gg_tt.mad makefile, add madevent_hip_link to .PHONY for con…
valassi May 14, 2024
a5783bb
[jtmk] in CODEGEN (recreate patch from gg_tt.mad), add madevent_hip_l…
valassi May 14, 2024
ec32094
[jtmk] regenerate all processes - the CI should now succeed again aft…
valassi May 14, 2024
79039c9
[jtmk] rerun 102 tput tests on itscrd90 - all ok
valassi May 15, 2024
522069a
[jtmk] rerun 30 tmad tests on itscrd90 - all as expected
valassi May 15, 2024
254962b
[jtmk] rerun 102 tput tests on itgold91 - all ok
valassi May 15, 2024
9968214
[jtmk] rerun 30 tmad tests on itgold91 - all as expected
valassi May 15, 2024
6ef59df
[jtmk] go back to itscrd90 logs for tput and tmad
valassi May 15, 2024
3e01d9b
[jtmk] in tput/allTees.sh, also print out segmentation faults and mem…
valassi May 15, 2024
b0343ac
[jtmk] in tput/allTees.sh, also print out failed tests in runTest.exe
valassi May 15, 2024
0ef6e5f
[jtmk] rerun 96 (previously 72) tput tests on LUMI - ok (with known e…
valassi May 15, 2024
9c394e4
[jtmk] in smeft_gg_tttt MadgraphTest.h, increase toleranceMEs for FPT…
valassi May 15, 2024
70b6b16
[jtmk] rerun two smeft_gg_tttt tests with increased toleranceMEs for …
valassi May 15, 2024
5ec653b
[jtmk] rerun 30 tmad tests on LUMI, all ok (except for gqttq on hip, …
valassi May 15, 2024
acdcaf5
Merge remote-tracking branch 'upstream/master' (including copyright u…
valassi May 15, 2024
0502af5
[jtmk] in CODEGEN (backport smeft_gg_tttt) MadgraphTest.h, increase t…
valassi May 15, 2024
1b07dcf
[jtmk] bug fix in the default bblds in tput/throughputX.sh (which was…
valassi May 15, 2024
ef3e741
[jtmk] ** (ALMOST COMPLETE JTMK) ** regenerate all processes (with up…
valassi May 15, 2024
3138c81
[jtmk] update to github actions v4 (see #848) moving from Node 16 to …
valassi May 17, 2024
93f9564
[jtmk] Upgrade mg5amcnlo to the latest gpucpp including the fix for m…
valassi May 21, 2024
49a4ba0
[jtmk] in CODEGEN, remove special handling of mdl_G__exp__2 (now fixe…
valassi May 21, 2024
c72bbe0
[jtmk] regenerate all processes after fixing mg5amcnlo#97 - functiona…
valassi May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 12 additions & 10 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ jobs:
matrix:
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
precision: [ d , f , m ]
backend: [ cppnone, cppauto ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: github PR info
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
- name: make info
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
- name: make
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
- name: make check
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
CPU_MAC:
runs-on: macos-latest
env:
Expand All @@ -42,27 +43,28 @@ jobs:
matrix:
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum, epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
precision: [ d , f , m ]
backend: [ cppnone, cppsse4 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: github PR info
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
- name: make info
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
- name: make
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
- name: make check
run: make AVX=none OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
GPU:
runs-on: self-hosted
env:
CUDA_HOME: /usr/local/cuda/
FC: gfortran
REQUIRE_CUDA: 1
strategy:
matrix:
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
precision: [ d , f , m ]
backend: [ cppauto, cuda ]
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand All @@ -71,8 +73,8 @@ jobs:
- name: github PR info
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
- name: make info
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
- name: make
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
- name: make check
run: make FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk check
45 changes: 28 additions & 17 deletions .github/workflows/testsuite_oneprocess.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# Copyright (C) 2020-2023 CERN and UCLouvain.
# Copyright (C) 2020-2024 CERN and UCLouvain.
# Licensed under the GNU Lesser General Public License (version 3 or later).
# Created by: A. Valassi (Oct 2023) for the MG5aMC CUDACPP plugin.
# Further modified by: A. Valassi (2023) for the MG5aMC CUDACPP plugin.
# Further modified by: A. Valassi (2023-2024) for the MG5aMC CUDACPP plugin.

# Verbose script
###set -x
Expand Down Expand Up @@ -43,7 +43,6 @@ function codegen() {
git checkout HEAD ${proc}/CODEGEN*.txt
if [ "${proc%.mad}" != "${proc}" ]; then
git checkout HEAD ${proc}/Cards/me5_configuration.txt
###sed -i 's/DEFAULT_F2PY_COMPILER=f2py.*/DEFAULT_F2PY_COMPILER=f2py3/' ${proc}/Source/make_opts
git checkout HEAD ${proc}/Source/make_opts
fi
echo "git diff (start)"
Expand Down Expand Up @@ -149,7 +148,8 @@ function build() {
gtestlibs=1
make -f cudacpp.mk gtestlibs
fi
make -j avxall
# NB: 'make bldall' internally checks if 'which nvcc' and 'which hipcc' succeed before attempting to build cuda and hip
make -j bldall
popd >& /dev/null
done
}
Expand Down Expand Up @@ -211,25 +211,36 @@ function tput_test() {
# FIXME3: handle all d/f/m, inl0/1, hrd0/1 etc...
unamep=$(uname -p)
unames=$(uname -s)
for simd in none sse4 avx2 512y 512z; do
# Skip tests for unsupported simd modes as done in tput tests (prevent illegal instruction crashes #791)
for backend in cuda hip cppnone cppsse4 cppavx2 cpp512y cpp512z; do
# Skip GPU tests for NVidia and AMD unless nvcc and hipcc, respectively, are in PATH
if ! nvcc --version &> /dev/null; then
if [ "${backend}" == "cuda" ]; then echo; echo "(SKIP ${backend} because nvcc is missing on this node)"; continue; fi
elif ! hipcc --version &> /dev/null; then
if [ "${backend}" == "hip" ]; then echo; echo "(SKIP ${backend} because hipcc is missing on this node)"; continue; fi
fi
# Skip C++ tests for unsupported simd modes as done in tput tests (prevent illegal instruction crashes #791)
if [ "${unamep}" != "x86_64" ]; then
if [ "${simd}" == "avx2" ]; then echo; echo "(SKIP ${simd} which is not supported on ${unamep})"; continue; fi
if [ "${simd}" == "512y" ]; then echo; echo "(SKIP ${simd} which is not supported on ${unamep})"; continue; fi
if [ "${simd}" == "512z" ]; then echo; echo "(SKIP ${simd} which is not supported on ${unamep})"; continue; fi
if [ "${backend}" == "cppavx2" ]; then echo; echo "(SKIP ${backend} which is not supported on ${unamep})"; continue; fi
if [ "${backend}" == "cpp512y" ]; then echo; echo "(SKIP ${backend} which is not supported on ${unamep})"; continue; fi
if [ "${backend}" == "cpp512z" ]; then echo; echo "(SKIP ${backend} which is not supported on ${unamep})"; continue; fi
elif [ "${unames}" == "Darwin" ]; then
if [ "${simd}" == "512y" ]; then echo; echo "(SKIP ${simd} which is not supported on ${unames})"; continue; fi
if [ "${simd}" == "512z" ]; then echo; echo "(SKIP ${simd} which is not supported on ${unames})"; continue; fi
if [ "${backend}" == "cpp512y" ]; then echo; echo "(SKIP ${backend} which is not supported on ${unames})"; continue; fi
if [ "${backend}" == "cpp512z" ]; then echo; echo "(SKIP ${backend} which is not supported on ${unames})"; continue; fi
elif [ "$(grep -m1 -c avx512vl /proc/cpuinfo)" != "1" ]; then
if [ "${simd}" == "512y" ]; then echo; echo "(SKIP ${simd} which is not supported - no avx512vl in /proc/cpuinfo)"; continue; fi
if [ "${simd}" == "512z" ]; then echo; echo "(SKIP ${simd} which is not supported - no avx512vl in /proc/cpuinfo)"; continue; fi
if [ "${backend}" == "cpp512y" ]; then echo; echo "(SKIP ${backend} which is not supported - no avx512vl in /proc/cpuinfo)"; continue; fi
if [ "${backend}" == "cpp512z" ]; then echo; echo "(SKIP ${backend} which is not supported - no avx512vl in /proc/cpuinfo)"; continue; fi
fi
if ls -d build.${simd}* > /dev/null 2>&1; then
bdirs="$(ls -d build.${simd}*)"
if ls -d build.${backend}* > /dev/null 2>&1; then
bdirs="$(ls -d build.${backend}*)"
for bdir in ${bdirs}; do
runExe ${bdir}/runTest.exe
runExe ${bdir}/check.exe -p 1 32 1
runExe ${bdir}/gcheck.exe -p 1 32 1
if [ -f ${bdir}/check.exe ]; then
runExe ${bdir}/check.exe -p 1 32 1
elif [ -f ${bdir}/gcheck.exe ]; then
runExe ${bdir}/gcheck.exe -p 1 32 1
else
echo "ERROR! Neither ${bdir}/check.exe nor ${bdir}/gcheck.exe was found?"; exit 1
fi
done
fi
done
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testsuite_oneprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
id: cache-restore
# See https://github.com/actions/cache
# See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
CCACHE_DIR
Expand All @@ -123,7 +123,7 @@ jobs:
- name: update_cache # update caches after the builds but before the tests (which may fail even if builds succeed)
id: cache-update
# See https://github.com/actions/cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
CCACHE_DIR
Expand Down
2 changes: 1 addition & 1 deletion MG5aMC/mg5amcnlo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
index 0a3dfa449..8f4aaecd6 100644
index 4fbb8e6ba..f9e2335de 100644
--- b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
+++ a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f
@@ -484,23 +484,140 @@ C
Expand Down Expand Up @@ -284,7 +284,7 @@ index 71fbf2b25..0f1d199fc 100644
open(unit=lun,file=tempname,status='old',ERR=20)
fopened=.true.
diff --git b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/matrix1.f a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/matrix1.f
index 817af778b..0c2ce6ec4 100644
index e73e654d4..27fbe7302 100644
--- b/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/matrix1.f
+++ a/epochX/cudacpp/gg_tt.mad/SubProcesses/P1_gg_ttx/matrix1.f
@@ -72,7 +72,10 @@ C
Expand Down
Loading