I am running the following code using openacc.
Openacc loop on the gpu runs fine for grids upto 50x50. For large grids, say, 60x60, it returns the following error :
call to cuEventElapsedTime returned error 700: Illegal address during kernel execution
I also see this in output: libcupti.so not found
I have tried the same code for 60x60 grid on a single cpu thread and it runs fine. So, it’s not an error with the code itself.
My system details : ubuntu 14.04, tesla K40c, pgcc V15.5
About the code :
Build : cd Tools/ ; make all -f makefile_gpu
Run : cd …/Fitzhugh_Generic/ ; python2.7 torus_4.py
Size of the grid can be specified by changing the second last line of torus_4.py as : tor.sweep_allInC(60);
OpenAcc code starts from the function sweeptraces() under Tools/fitzhugh.c which is called by Fitzhugh_Generic/torus_4.py via Tools/fitzhugh.py
Any help is greatly appreciated.