Skip to content

Fixes for SUSY code generation of gg_tt#624

Merged
valassi merged 20 commits intomadgraph5:masterfrom
valassi:susy
Apr 3, 2023
Merged

Fixes for SUSY code generation of gg_tt#624
valassi merged 20 commits intomadgraph5:masterfrom
valassi:susy

Conversation

@valassi
Copy link
Member

@valassi valassi commented Apr 3, 2023

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 that it closes #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 #619 and #272)

Copying @oliviermattelaer and @nscottnichols because this may be something similar to issues they were having. (NB: I have many more issues coming...)

valassi added 20 commits March 31, 2023 16:48
…eption"

This is triggered by this line:
  if usesdepcoupl is None: raise "PANIC! could not determine if this call uses aS-dependent or aS-independent couplings?"
…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]
…is not"

I get the error for this situation:
       'if (mdl_Mneu2 < 0)
        mdl_Wneu2 = -abs(mdl_Wneu2);
        if (mdl_Mneu3 < 0)
        mdl_Wneu3 = -abs(mdl_Wneu3);
        if (mdl_Mneu4 < 0)
        mdl_Wneu4 = -abs(mdl_Wneu4);
        if (mdl_Mgo < 0)
        mdl_Wgo = -abs(mdl_Wgo);'
…ts in write_parameters and write_set_parameters
…particles in export_cpp.UFOModelConverterCPP.write_set_parameters madgraph5#622
Now susy_gg_tt.sa and susy_gg_tt.mad can be correctly generated, but they fail to build
…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)
@valassi valassi self-assigned this Apr 3, 2023
@valassi
Copy link
Member Author

valassi commented Apr 3, 2023

All tests passe, I will self merge.

Copying also @zeniheisser for info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codegen for susy process fails with "ValueError : not enough values to unpack (expected 2, got 1)"

1 participant