-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
implement new CI and fixed the one related to the compilation issue. #980
Conversation
Hi @oliviermattelaer thanks so far looks good. One 'minor' point, I would probably prefer (need to cross check) to split the clean logic in Source from
to the following (what I have now in master through patches)
The motivation is that this allows faster I can do that no problem, I propose
I will let you know when done |
I did a simple test to confirm this, on gq_ttq which is the simplest process with more than one P* in the repo. Using upstream/master (i.e. what I would lik to go back to)
Using instead what is currently in this PR
The difference is
In a project with many P*, where looping through P* is slow, this is an issue. I will go back to the upstream/master logic (with the new codegen however) |
…ll' instead of 'make cleanavx' to clean the build (these are identical)
… up P* cleanup; remove cleanavx which is identical to cleanall (launch_plugin.py has been changed accordingly)
…ource+clean and add an %(additional_clean) section This is needed to speed up the cleanup of P* subprocesses in cudacpp See madgraph5/madgraph4gpu#980
…efile, split clean into cleanSource+clean and move cleanavxs at the end via %(additional_clean)
…k cleanSource to speed up P* cleanup Also remove cleanavx which is identical to cleanall (launch_plugin.py has been changed accordingly) Add some comments in Olivier's write_source_makefile
…l commit message later (regenerating the patch changes nothing)
…g changes: I just want to mark that Source/makefile is no longer there) The only files that still need to be patched are - 2 in patch.common: Source/genps.inc, SubProcesses/makefile - 3 in patch.P1: auto_dsig1.f, driver.f, matrix1.f ./CODEGEN/generateAndCompare.sh gg_tt --mad --nopatch git diff --no-ext-diff -R gg_tt.mad/Source/genps.inc gg_tt.mad/SubProcesses/makefile > CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common git diff --no-ext-diff -R gg_tt.mad/SubProcesses/P1_gg_ttx/auto_dsig1.f gg_tt.mad/SubProcesses/P1_gg_ttx/driver.f gg_tt.mad/SubProcesses/P1_gg_ttx/matrix1.f > CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.P1 git checkout gg_tt.mad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve, but we need also #984
…ource+clean and add an %(additional_clean) section This is needed to speed up the cleanup of P* subprocesses in cudacpp See madgraph5/madgraph4gpu#980
Hi @oliviermattelaer some of your confusion in #984 (comment) probably came from the fact that this testsuite_only_fixed did not include the latest upstream/master. I have now merged master into testsuite_only, and I have also merged testsuite_only into this testsuite_only_fixed. |
…_fixci): fix my bug, define additional_clean in the second place where it is needed in export_v4.py
…'make cleanavxs' target as suggested by Olivier
Improvements to complete PRs 979 and 980
I have now merged #984 into this PR as discussed with Olivier. After the CI runs I will merge 979 and this 980 into master. |
Ok the CI is as expected, only the three pptt012j tests fail. I will merge #979 and then this 980. |
…, madgraph5#980, madgraph5#984 patches for the new CI and Source/makefile) into june24 Fix conflicts: - MG5aMC/mg5amcnlo (keep the current june24 version 4ef15cab1 i.e. current valassi_gpucpp_june24) - epochX/cudacpp/gg_tt.mad/bin/internal/banner.py (keep a debug printout)
…Source/makefile madgraph5#980) into helas
…Source/makefile madgraph5#980) into prof (Checked that regenerating gg_tt.mad is all ok)
…Source/makefile madgraph5#980) into grid
…adgraph5#980) into cmsdy Fix conflicts: - epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common (remove Source/makefile) - epochX/cudacpp/CODEGEN/allGenerateAndCompare.sh (add processes from both branches) (Checked that regenerating gg_tt.mad is ok)
…rce/makefile madgraph5#980) into cmsdyps Fix conflicts: - epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/MG5aMC_patches/PROD/patch.common (remove Source/makefile) (NB regenerating gg_tt.mad is not ok: the newranmar.o is now missing)
Hi,
This PR is basically the same as #865 but not targetting master but testsuite_only.
(and with a lot of cherry-pick/squashing from the original branch), so #865 is just the sum of this PR and the one related to testsuite_only.
Note that this PR need a change to the upstream madgraph (which should be urgently approved) and the associated PR is
mg5amcnlo/mg5amcnlo#132