Hi I was using CAPS OpenACC compilers, but it seems the compiler can not link the functions to the standard math.h.
Actually, in my case, sqrt function is used in my code within the acceleration loop. When I compile the code, below error is thrown out:
/tmp/cc8L0aKZ.o:compute_fluxes_XrxAnW.translated.i:function _flux_function_central: error: undefined reference to 'sqrt'
Anyone get some solutions?
Thanks!