Open valassi opened 7 months ago
This is strange. It is not a systematic problem. Most events are the same. There are just a few events where the helicities are mismatched, and a few events which are passed in c++ but do not exist for fortran.
Just to be sure, I commented out the hack to flush to zero small jamp in #831. I get the same issues (and no FPEs).
A quick idea about how to investigate this: while it is difficult to debug the fortran in double precision, I know that cudacpp in double precision agrees with that. It may be best to add debug printouts to cudacpp and then run the same test in double and single precision to understand the differences.
Note also: from debugging #831 it is obvious that there are huge cancellations all over the place in this HEFT gg_bb MIW<=1 process. It is not so surprising that float gives different results, maybe.
Maybe we should just decalre that for some processes like this one, double precision (not even moxed) is required. But it would be best to understand how to decide which processes need double precision...
I have finally run the first tmad test for a HEFT process, heft_gg_bb. This is in WIP PR #832.
All tests succeed for double and mixed precision. There is a mismatch of LHE files in float precision