This is probably an unanswerable question, but I thought I’d pose it just in case.
I’m currently experimenting with using Accelerators in a well-established piece of software, trying to speed it up. I’m finding, however, that sometimes adding an
leads to SIGFPEs when there are none without the regions:
p0_2643: p4_error: interrupt SIGFPE: 8
Is this a usual happenstance, or are there certain functions to avoid in accelerator regions that can lead to this? Like exp(), log()?
(Note, that is a p4_error meaning MPI, but this is mpirun -np 1. I’m not near using >1 CPUs yet.)
ETA: I’m currently trying to track down which bit of the code is doing this. In my idiocy, I accelerated lots of innocent bits of code. One (or more) turned out not to be so innocent…