Skip to content
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

change matrix.f to include the choice of helicity/color within that file. #24

Closed
7 of 9 tasks
oliviermattelaer opened this issue Jun 17, 2022 · 3 comments
Closed
7 of 9 tasks

Comments

@oliviermattelaer
Copy link
Owner

oliviermattelaer commented Jun 17, 2022

Idea

update the fortran code to have the same interface as for GPU and therefore avoid to put the JAMP2 in a common block

  • avoid to have to transfer it from GPU to CPU
  • good time to test the low memory selection of color to avoid to have all jamp2 in memory at the same time (see Note on color structure #17)

Todo:

  • change signature of smatrix
  • change the signature of matrix
    • without helicity recycling
  • change addmothers.f
  • change the events writing
    • temporary format (avoid the use of buffer)
    • final format
@oliviermattelaer
Copy link
Owner Author

oliviermattelaer commented Jul 28, 2022

note

    CHARACTER*101         HEL_BUFF
    COMMON/TO_HELICITY/  HEL_BUFF
 WRITE(HEL_BUFF,'(20i5)')(NHEL(II,I),II=1,NEXTERNAL)

(need to be replaced via the call to ihel)
-> need to have a function get_helicity(iproc, ihel)
call get_helicity(iproc, ihel, nhel)
that calls get_nhelX(...)

@oliviermattelaer
Copy link
Owner Author

oliviermattelaer commented Jul 28, 2022

case without plugin/helicity recycling/mlm
implemented here:

mg5amcnlo/mg5amcnlo@0587cbb
following commit is make the change consistent with helicity recycling
mg5amcnlo/mg5amcnlo@18a90f5

@oliviermattelaer
Copy link
Owner Author

oliviermattelaer commented Jul 29, 2022

Validation:

  • check that the code compile
  • check that the cross-section is correct
  • Helicity
    • are filled
      • returned non zero from smatrix
      • are passed non zero (and same as smatrix) to write_leshouches
      • are returning non zero from the new function for getting the helicity
        • function return 0 0 0 0 in last commit
    • have correct rate
  • Color
    • are filled
    • have correct rate
  • JAMP2
    • check that all jamp2 have been removed from memory (especially the vectorised version)

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

No branches or pull requests

1 participant