-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master_june24 completion: nb_warp_used (and a SUBset of gpucpp_june24) into gpucpp #121
Conversation
…section (and wrap not correctly ported everywhere
…F call and MLM weight)
…F call and MLM weight)
…or icolamp mg5amcnlo#118) into valassi_gpucpp_june24
…mcnlo#107 and coloramps mg5amcnlo#118) into valassi_gpucpp_june24
mg5amcnlo#125) into valassi_gpucpp_june24
Hi @oliviermattelaer this is a preliminary step for merging the master_june24 work of madgraph5/madgraph4gpu#882 Can you please review and approve? Note, this is related to madgraph5/madgraph4gpu#886: in practice, what is here my valassi_gpucpp_june24 gets merged into gpucpp, while we forget about gpucpp_june24. Thanks! |
PS @oliviermattelaer PLEASE DO NOT SQUASH in case you merge this, thanks :-) |
…g5amcnlo#132) into valassi_gpucpp_june24 Fix conflicts: madgraph/various/banner.py (keep a debug printout in get_value_from_include)
Hi @oliviermattelaer I just merged th elatest gpucpp (including your gpucpp_fixci #132) into my valassi_gpucpp_june24. I will update also my madgraph5/madgraph4gpu#882 in madgraph4gpu to use this one. (Then I will probably comment on your madgraph5/madgraph4gpu#981 that 981 becomes irrelevant) |
Hi @oliviermattelaer this now includes everything we need for june24. Can you have a look and approve? Thanks |
Looks like they are conflict to fix here. Olivier |
@@ -1738,7 +1738,25 @@ def get_pdf_lines(self, matrix_element, ninitial, subproc_group = False, vector= | |||
if vector: | |||
pdf_definition_lines_vec = "" | |||
pdf_data_lines_vec = "" | |||
pdf_lines = " DO iVEC=1,VECSIZE_USED\n" | |||
pdf_lines = """ NB_WARP_USED = VECSIZE_USED / WARP_SIZE |
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.
Hi @oliviermattelaer about your question: I am doing nb_warp_used in various places. This is one example here.
But you are right that there may be more. (See madgraph5/madgraph4gpu#983)
Ok I will check dsample.f more in detail...
Hi Olivier thanks
Hm? No I do not see conflicts, which conflicts are you talking about?
No I wanted to fix this here. I am fixing it in various places. I thought that this was enough because tests were passing. Andrea |
Hi @oliviermattelaer again. I had a look at this, see the comments in madgraph5/madgraph4gpu#983. In my opinion there is nothing else to be done in dsample.f, but I may be missing something. Can you have a look yourself and comment in 983 please? Then if we agree that there is nothing else to do , I think that we can start merging this. Thanks Andrea |
Hi @oliviermattelaer thanks for having a look! You confirmed here madgraph5/madgraph4gpu#983 (comment) that there is nothing to do for 983, so I consider that this is good to go. So, I AM MERGING THIS! Starting the full june24 merge into master+gpucpp... |
… into ghav_gpucpp_june24 NB: at this point, the remaining changes in this branch w.r.t. gpucpp are only a few commits by Olivier (which may be elsewhere like360) git log --oneline gpucpp..HEAD 718f59a0e (HEAD -> ghav_gpucpp_june24) Merge branch 'gpucpp' (including june24 nb_warp_used via mg5amcnlo#121) into ghav_gpucpp_june24 268cee3 (ghav/ghav_gpucpp_june24) Merge branch 'valassi_gpucpp_june24' into ghav_gpucpp_june24 def7fa6 sync gpuccp_june24 with gpucpp 37d1871 fix change in cpp template within the test (spaces) 0e5e483 fixing pythia8 iotest 849194f fix some tests (template changed) 1a9e6dd fixing an issue in the fortran side if no vector size e2e7900 add a possibility to have multiple type of factorization (no actual code change at this stage) 942dab7 secure the code 45f8410 (origin/gpucpp_fix_scan_vector) Merge branch 'gpucpp_june24' into gpucpp_fix_scan_vector 0959edf Merge branch 'gpucpp_wrap' into gpucpp_june24 63d2d39 (origin/gpucpp_wrap) remove useless file + debug statement ecb0a03 add gpu in the autocompletion for group_subproceses 82f078b change makefile to recompile code as needed if vector size is changed
Hi @oliviermattelaer this is a WIP MR into gpucpp of my nb_warp_used and of everything else I am using against master_june24 in my (madgraph5/madgraph4gpu#882).
The nb_warp_used fixes are described here madgraph5/madgraph4gpu#885 (comment)
NB: as discussed in madgraph5/madgraph4gpu#886, gpucpp_june24, with or without my changes, does NOT work for me with master_june24 (my modified version, but I am pretty sure that the problem was pre-existing). This is why here I am NOT merging gpucpp_june24, I am only merging a SUBSET of that (what was originally used in master_june24, plus my changes, see https://github.com/valassi/mg5amcnlo/commits/valassi_gpucpp_june24/
I keep this in WIP for the moment. I would only merge this when we agree to merge my madgraph5/madgraph4gpu#882 into master (as master is meant to use the head of gpucpp... I do not want to 'pollute' gpucpp before!).
I also filed PR #120 against gpucpp_june24, but as mentioned in madgraph5/madgraph4gpu#886, I am unable to use gpucpp_june24 and this is NOT what was used in master_june24 anyway.
Thanks Andrea