-
Notifications
You must be signed in to change notification settings - Fork 33
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
Problems in ggttgg lhe files after the latest upstream changes (replacing channel by iconfig in select_color) #655
Comments
@oliviermattelaer I made some tests and this clearly seems to come from this one Can you confirm that this is correct and that I should fix the GPU plugin to give the same results? NB my understanding is that this is causing in Fortran only a change in the color assignments in LHE files? Thanks |
Revert "fix issue with the color selection" This reverts commit 0a1038d.
… Olivier's select_color change Revert "[bug655] try to fix madgraph5/madgraph4gpu#655" This reverts commit 6d2182c. This makes it possible to separate the various issues: at least based on the previous commit we have a version that works ok on the GPU plugin as-is (including vecsize and cmsdy fixes). Later on we will need to fix also the color selection in the GPU plugin using the new code.
I have created and merged a NOOP mg5amcnlo/mg5amcnlo#56 where I created a commit hash that works as-is for the current as-is gpu plugin. This will allow me to merge #654 I hope. Then this #655 will need to be fixed searately... so it stays very much open... |
…eam fix for madgraph5#655 (NB no need to regenerate the SA processes as there is no change in the code there)
I believe that this was the patch that was fixing the issue for ta+ ta- sample for atlas no? |
Hi @oliviermattelaer thanks for looking at this :-) The only ta+ ta- issue I remember (but I still need to look better at some emails) was #645, problems in CKKW. This I actually noted down as "CMS Drell Yan" (I think it was Sapta from CMS, not ATLAS, but I may be wrong). Anyway, that particular one had a fix from a different commit mg5amcnlo/mg5amcnlo@ef334c5. Or you mean another ta+ ta- issue for ATLAS? Maybe @roiser knows better? Anyway, the commit which caused the issue is mg5amcnlo/mg5amcnlo@0a1038d . This essentially replaces Thanks! |
…dgraph5#655 (revert an earlier patch by Olivier in color selection)
Revert "fix issue with the color selection" This reverts commit 0a1038d.
Hi @oliviermattelaer just to make it clearer: I have now "permanently" reverted your change in the upstream gpucpp. This is to make sure we both work on the same code. Sorry I did not make it clearer before... |
Ok no problem, I will retest the process of @roiser with that commit to see if you re-introduced that error (or not). |
Thanks Olivier, very good |
Hi @valassi , so ta+ta- is now working
is now crashing with something related to color (I'm pretty sure it was working before). And I confirm that after a
The above code is back to working as expected. |
Hi @oliviermattelaer thanks. The problem I have is that the lhe files produced by fortran and cudacpp are the same without your patch, while they are different with your patch, in gg to ttgg. So it may be that
I have not had time to debug this, sorry. Having a chat is a good idea, but not today/tomorrow. Maybe next week Monday or Tuesday? Lets discuss offline. Cheers Andrea |
So yes, I did change the colors only in the fortran implementation. Will double check what is the impact for gg>ttgg but likely in that case just selecting different color (in a way selecting wrongly color). Olivier |
Revert "[bug655] try to fix madgraph5/madgraph4gpu#655" This reverts commit 42cf68b. Thie reintroduces bug madgraph5/madgraph4gpu#655 However it fixes madgraph5/madgraph4gpu#710
…ck his select_color change This will introduce again madgraph5#655 but should fix madgraph5#710
…ected This is the price to pay for fixing instead madgraph5#710 using OLivier's select_color change STARTED AT Fri Jun 16 23:34:03 CEST 2023 ENDED AT Sat Jun 17 03:40:59 CEST 2023 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_m_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_d_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_f_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_m_inl0_hrd0.txt 0 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_gqttq_mad/log_gqttq_mad_d_inl0_hrd0.txt
…raph5#710 with Olivier's select_color change The price to pay is the tmad failures in ggttgg madgraph5#655 Add to the git repo the two ggttggg FORTRAN logs that were previously failing The duration of these tests needs some tuning, the ggttggg take too long madgraph5#711 ls -ltr tlau/logs_ggtt*/*txt -rw-r--r--. 1 avalassi zg 3590 Jun 17 03:41 tlau/logs_ggtt_CUDA/output.txt -rw-r--r--. 1 avalassi zg 3588 Jun 17 03:41 tlau/logs_ggtt_FORTRAN/output.txt -rw-r--r--. 1 avalassi zg 3580 Jun 17 03:42 tlau/logs_ggtt_CPP/output.txt -rw-r--r--. 1 avalassi zg 3462 Jun 17 03:42 tlau/logs_ggttg_CUDA/output.txt -rw-r--r--. 1 avalassi zg 3571 Jun 17 03:43 tlau/logs_ggttg_FORTRAN/output.txt -rw-r--r--. 1 avalassi zg 3515 Jun 17 03:44 tlau/logs_ggttg_CPP/output.txt -rw-r--r--. 1 avalassi zg 4106 Jun 17 03:46 tlau/logs_ggttgg_CUDA/output.txt -rw-r--r--. 1 avalassi zg 4425 Jun 17 04:00 tlau/logs_ggttgg_FORTRAN/output.txt -rw-r--r--. 1 avalassi zg 4349 Jun 17 04:05 tlau/logs_ggttgg_CPP/output.txt -rw-r--r--. 1 avalassi zg 6766 Jun 17 04:50 tlau/logs_ggttggg_CUDA/output.txt -rw-r--r--. 1 avalassi zg 7069 Jun 17 20:45 tlau/logs_ggttggg_FORTRAN/output.txt -rw-r--r--. 1 avalassi zg 6967 Jun 18 01:29 tlau/logs_ggttggg_CPP/output.txt
Thanks Olivier. I confirm that I have now permanently gone back to your latest select_color implementation in MR #709, which fixes #710, but reintroduces this #655. Yes please let me know if you think that the ggttgg color choice is correct. If it is not correct, I leave it up to you to fix it in Fortran. If it is correct, I will take care of fixing it in cudacpp. Note, this may be related to #713. I am now generating coloramps.h from coloramps.inc via sed, rather than via the python machinery directly. Maybe by using the python machinery directly, coloramps.h would look different from coloramps.h, but the lhe files would eventually be correct?... |
Note: performance remains very similar to upstream/master STARTED AT Thu Jul 20 22:07:15 CEST 2023 ENDED AT Fri Jul 21 02:16:03 CEST 2023 Status=0 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_m_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_d_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_f_inl0_hrd0.txt 1 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_m_inl0_hrd0.txt 0 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_gqttq_mad/log_gqttq_mad_d_inl0_hrd0.txt
…n tput and tmad for easier merging This completes the fpe and namespace patches, addressing madgraph5#701 and madgraph5#725, respectively. Unfortunately, I tested that this patch only fixes the IEEE_DIVIDE_BY_ZERO part of madgraph5#701, but there are still other issues remaining (being debugged in branch nobm). Revert "[fpe] rerun 15 tmad - ggttgg tests fail again madgraph5#655 as expected" This reverts commit 9212960. Revert "[fpe] rerun 78 tput alltees, all ok" This reverts commit 9a68868.
… easier merging This ~completes the fpe and namespace patches, addressing madgraph5#701 and madgraph5#725, respectively. (HOWEVER, the CI on MacOS failed for this with madgraph5#730 - still a few things to change before merging). Unfortunately, I tested that this patch only fixes the IEEE_DIVIDE_BY_ZERO part of madgraph5#701, but there are still other issues remaining (being debugged in branch nobm). Revert "[fpe] rerun 15 tmad - ggttgg tests fail again madgraph5#655 as expected" This reverts commit 9212960. Revert "[fpe] rerun 78 tput alltees, all ok" This reverts commit 9a68868.
…olors is still there (madgraph5#655) ./tmad/teeMadX.sh -ggttgg +10x
…ceeds, ie madgraph5#655 is fixed? will rerun also on ggttggg ./tmad/teeMadX.sh -ggttgg +10x
… colors are still correct! this confirms that madgraph5#655 is fixed by disabling the coloramps.h patch ./tmad/teeMadX.sh -ggttggg
…amps.h fixes the LHE color mismatch in ggttgg (madgraph5#655), while also removing the need for the coloramps.h patch (madgraph5#713)
Revert "[color] rerun tmad ggttggg test (short version without +10x), the LHE colors are still correct! this confirms that madgraph5#655 is fixed by disabling the coloramps.h patch" This reverts commit aef35b1. Revert "[color] rerun tmad ggttgg with the new coloramps.h - now the test succeeds, ie madgraph5#655 is fixed? will rerun also on ggttggg" This reverts commit b04e4a8.
… coloramps.h for ggttgg and ggttggg fixing madgraph5#655 and madgraph5#713
…colormaps madgraph5#655 and madgraph5#713 are fixed (Some performance fluctuations, maybe generally a bit slower? but no clear pattern) STARTED AT Thu Aug 10 03:29:39 CEST 2023 ENDED AT Thu Aug 10 07:47:39 CEST 2023 Status=0 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_eemumu_mad/log_eemumu_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttggg_mad/log_ggttggg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttgg_mad/log_ggttgg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggttg_mad/log_ggttg_mad_m_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_d_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_f_inl0_hrd0.txt 24 /data/avalassi/GPU2023/madgraph4gpuX/epochX/cudacpp/tmad/logs_ggtt_mad/log_ggtt_mad_m_inl0_hrd0.txt
…generate pp_tt012j.mad including coloramps fixes for madgraph5#655 and madgraph5#713
This has been completed in MR #742. @oliviermattelaer suggested to try and remove my patch that was recreating coloramps.h from coloramps.inc (#713), and use coloramps.h directly, using the results of his previous select_color changes. This turns out to fix the issue in color choices in ggttgg LHE files (fixing #655): a very simple change that fixes two issues at the same time. |
Hi @oliviermattelaer (cc @roiser), I have rerun the usual tests after the upgrade to the latest mg5amcnlo upstream.
Most tests succeed, but in ggttgg I get differences in the lhe files:
I will try to have a look, but does this ring a bell, any way to interpret this?
Thanks
Andrea
The text was updated successfully, but these errors were encountered: