-
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
wrong assert in cudacpp plugin (and test code generation for pptt) #337
Comments
Hi Olivier, interesting, it looks clearly wrong. I will have a look. I guess I need to generate a test pptt too as otherwise I will not see that? I am surprised I do not see the issues in the three processes I use routinely |
I rename this to also mention "and test code generation for pptt" - the reason why I never had the issue reported by Olivier is that I never tried pptt, I gues? |
…adgraph5#337 DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1005] Command "import /data/avalassi/GPU2020/MG5aMC/2.7.0_gpu/CODEGEN_cudacpp_pp_tt.mg" interrupted in sub-command: "output standalone_cudacpp CODEGEN_cudacpp_pp_tt" with error: AssertionError :
Thanks Olivier, this was easily confirmed. I will work on PR #340 about this. I just realise I have no idea what the pptt code should look like. If I take the default madgraph without my plugin (say 270gou which is what I am based on for now), that was working for you initially and was producing code that made sense? Thanks Andrea |
…graph5#337) DEBUG: Entering PLUGIN_OneProcessExporter.write_process_cc_file [model_handling.py at line 1005] Command "import /data/avalassi/GPU2020/MG5aMC/2.7.0_gpu/CODEGEN_cudacpp_uu_tt.mg" interrupted in sub-command: "output standalone_cudacpp CODEGEN_cudacpp_uu_tt" with error: AssertionError :
…but not yet pptt
this specific issue is fixed easily: I just disabled the "assert(False)". I think that I had added that to understand if/when thi smethod "coeff" was used at all. I found that it is not used in eemumu or ggtt, but it it is used in uutt (or in the uutt within pptt). There is now however a more fundamental issue with pptt, namely the problem of nprocesses>1 (#272). After fixing the assert, code generation succeeds but the build fails because of that nprocesses. I checked that the uutt standalone and the uutt within pptt differ in the following way for instance:
From our discussions, I understand that this is because "uutt" within pptt is not only "uu" proper, but also some other combinations of quarks (I guess bbtt is the very different case?). Anyway, what I mean is that the ggtt within pptt and the ggtt standalone instead are essentially the same code, so it is really the "uutt" part which is different. I will have a look. |
…rocesses This completes the fix for the assert issue madgraph5#337 (pptt generation was failing). The second issue in pptt (generation succeeds but build fails with nprocesses=2) is moved to madgraph5#343
…s fixes uutt but not yet pptt
hi,
I do have the following crash
when doing (from master)
Is there a real reason for this assert?
The text was updated successfully, but these errors were encountered: