-
Notifications
You must be signed in to change notification settings - Fork 32
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
codegen for susy process fails with "ValueError : not enough values to unpack (expected 2, got 1)" #622
Comments
I have two sort of issues now First, the error above probably come from this code, which I find puzzling
What is the point of saying Second, I need to understand what the slha.get_block_entry does when there are indices...
|
Just commenting to say, this is indeed the same issue I ran into with a similar setup (after Olivier's changes). You can get to the same issue generating |
Ouf. More complex than I thought. I read it incorrectly, the code makes sense, they are two different variables M and W. So the code must be included... In addition, code generation of that snippet is puzzling. It seems to come from |
Ok at least this one seems easy now that I analysed it better. I just need to replace this whole function
|
…o unpack (expected 2, got 1)" madgraph5#622 This comes from the following line (a parameter is set conditionally...) DEBUG: line = if ( mdl_Mneu2 < 0 ) [model_handling.py at line 715]
…graph5#622, add an assert message
…off Majorana fixes (madgraph5#622)
…particles in export_cpp.UFOModelConverterCPP.write_set_parameters madgraph5#622
…l ok with no change This completes the first "susy" patch: now susy_gg_tt can be generated correctly (but it does not build). In practice, the main (only?) issue it addresses is madgraph5#622 Further patches (susy2 and possibly more) will attempt to fix these builds. NB: At this stage, CODEGEN is still using the upstream mg5amcnlo without "split_nonidentical_grouping" (PR madgraph5#619 and madgraph5#272)
…o unpack (expected 2, got 1)" madgraph5/madgraph4gpu#622 This comes from the following line (a parameter is set conditionally...) DEBUG: line = if ( mdl_Mneu2 < 0 ) [model_handling.py at line 715]
…graph5/madgraph4gpu#622, add an assert message
…particles in export_cpp.UFOModelConverterCPP.write_set_parameters madgraph5/madgraph4gpu#622
The codegen for a susy process fails with "ValueError : not enough values to unpack (expected 2, got 1)"
This is an issue that I just discussed with @oliviermattelaer . IIUC this had also been reported by @nscottnichols in a similar setup. Copying also @zeniheisser for info.
We had a look with Olivier. This comes from the codegen for HRDCOD=1. The issue is that the original code includes not only "parameter = value" but also "if ( condition ) parameter = value".
A first quick fix in model_handling.py could be
However then I get an assert in
I must look at the unmodified code and see what it gives... with HRDCOD=1 we need constexpr stuff, so the counting of parameters must be handled with care...
The text was updated successfully, but these errors were encountered: