Hi, I compiled my OpenACC fortran code with nvfortran with:
-Mlarge_arrays -m64 -O1 -Wall -Werror -gpu=ccall,managed,implicitsections -stdpar -traceback
The exe file works well with -O1, but if I update to -O2, it crashes (float point error/divided by zero)
Have anyone experienced same behaviors? Thanks.
Due to the complexity of the code, it’s not easy to make a simple repeatable case.
Thanks.
Hi honggangwang1979,
Unfortunately it could be any number of things and without a reproducer or more info, I can’t tell what’s wrong. Although a minimal reproducing example is preferred, if you can point me to the full source as well as instructions on how to reproduce the problem, I can take a look.
-Mat
Hi Mat,
Thank you so much for your quick reply.
Is it ok for you to give me your email address and I will send you a link to my repository since I cannot public it?
Thank you so much!
Send it to me via direct message. You can do this by clicking the link on my user name to go to my profile. From there, select the “message” box.