no acc routine information

#pgcc -acc -ta=tesla:cc35 -Minfo -c -o main.o main.c

PGC-S-0000-Internal compiler error. Call in OpenACC region to procedure with no acc routine information - fmod (main.c: 738)

fmod() is a math function that is available in CUDA.

Isn’t it supported in OpenACC?

Hi junghyun,

Yes, we were missing the host to CUDA translations for a few of the math routines, including fmod.

This is being tracked as TPR#21825 and should be fixed in the next release.

  • Mat

I have run into this with fmod now as well. Is there a workaround for this?

Hi Aaron,

We added fmod support in 15.9. Can you update to this release?

  • Mat

Mat,

Thanks for the prompt. I did not realize that 15.9 was out or that I was running on 15.7. I have the new version and it works, but only after I add accelmath.h to the set of includes. Is this normal? Is it not enough to just add the math.h header?