-
Notifications
You must be signed in to change notification settings - Fork 37
Description
This is an issue reported by Jin @choij1589 (thanks!) during yesterday's meeting with CMS https://indico.cern.ch/event/1373473/ (issue not in the slides, it was reported in the later discussion)
Details are here https://github.com/choij1589/madgraph4gpu/tree/dev_cms_integration
See in particular this commit master...choij1589:madgraph4gpu:dev_cms_integration
Description and analysis
IIUC there were some DIVBYZERO (and INVALID?) FPEs during the CMS madevent tests - note in particular that this was during CUDA runs, so they cannot come from vectorized C++ code.
My initial guess is that this comes from Fortran code, probably from auto-vectorized Fortran code. We saw something similar in #855 for rotxxx, worked around in #857 with a volatile.
It would be annoying if these issues keep popping up, because decorating the full fortran code with volatile's does not look like a scalable solution.
@oliviermattelaer : is there an easy way in which @choij1589 can remove -O3 from fortran and replace it with -O1 when running madgraph in his CMS environment? (just as a test to see if this makes it disappear)