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

Move LIMHEL=0 to madgraph4gpu only and add a runcard allowing LIMHEL=0 #950

Closed
valassi opened this issue Aug 2, 2024 · 7 comments · Fixed by #992
Closed

Move LIMHEL=0 to madgraph4gpu only and add a runcard allowing LIMHEL=0 #950

valassi opened this issue Aug 2, 2024 · 7 comments · Fixed by #992
Assignees

Comments

@valassi
Copy link
Member

valassi commented Aug 2, 2024

Hi @oliviermattelaer this is a followup to #941 and PR #935. Two points

You can set limhel to 0 for test if you want but in production this should be the same fortran code/design.

(1) In #941 (comment) you suggest that LIMHEL=0 should not be the default in production cudacpp. Now it is. So it should be changed eventually. I still want to use LIMHEL=0 for all my tests in madgraph4gpu, so I can move that to generateAndCompare.sh for the code generation in the madgraph4gpu repo.

(2) However, I still think that LIMHEL=0 is a useful setting for tests, also for users, when debugging issues (eg the CMS xsec difference). So I suggest adding it as a hidden parameter in the runcards. Objections or other suggestions?

Thanks
Andrea

@oliviermattelaer
Copy link
Member

oliviermattelaer commented Aug 2, 2024 via email

@oliviermattelaer
Copy link
Member

I'm confused: limhel is not set to zero for madevent (at least for the gpucpp branch).
https://github.com/mg5amcnlo/mg5amcnlo/blob/8c70b1ba4c0f01257d8aa2d337fff716f1ef7e55/Template/LO/Source/genps.inc#L33

So either you are confusing with the standalone mode or we are not understanding each other.
But anyway can make sense to control limhel from the run_card

Olivier

@valassi
Copy link
Member Author

valassi commented Aug 5, 2024

I'm confused: limhel is not set to zero for madevent (at least for the gpucpp branch).

Hi Olivier, LIMHEL=0 is in the patch

+ PARAMETER(LIMHEL=0) ! ME threshold for helicity filtering (force Fortran to mimic cudacpp, see #419)

The fact that LIMHEL=0 for madeven in cudacpp was discussed many times long ago, Examples

But anyway can make sense to control limhel from the run_card

Very good :-)

So lets keep this on the todo list

Andrea

@oliviermattelaer
Copy link
Member

oliviermattelaer commented Aug 5, 2024 via email

@oliviermattelaer
Copy link
Member

limhel is now controllable within 3.6.0 branch.
Now we need to put back some support on the cudacpp side.

@valassi
Copy link
Member Author

valassi commented Sep 2, 2024

Hi Olivier, thanks a lot

limhel is now controllable within 3.6.0 branch.

Yes this will be merged in #955 (also #986)

Now we need to put back some support on the cudacpp side.

I have moved this to #564 (no need to add again #988, I have now closed that).

What you have done already complets this part ie #950

  • we can set limhel in the runcard for fortran
  • for cudacpp, tyhe setting of the runcard hardcodes limhel=0 (see df130b0)

Closing this, thanks to Olivier

@valassi
Copy link
Member Author

valassi commented Sep 15, 2024

Reopen and mark that this is actually closed by #992 (which includes #986 which includes #955)

@valassi valassi reopened this Sep 15, 2024
@valassi valassi linked a pull request Sep 15, 2024 that will close this issue
@valassi valassi closed this as completed Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment