Hi,
I am having issues with PGI version 17.5 while the code works fine with version 16.10. Hence, I am wondering if there have been some changes of the compiler that might cause that. It is reproducible on two different systems.
The crash occurs the first time openacc is used (see below). If I disable the first openacc statement it crashes at the next one and the backtrace of the __pgi_uacc functions is the same.
total/free CUDA memory: 0/0
Application 3779914 is crashing. ATP analysis proceeding...
ATP Stack walkback for Rank 0 starting:
....
__pgi_uacc_initialize@init.c:701
__pgi_uacc_enumerate@init.c:538
__pgi_uacc_cuda_init@cuda_init.c:369
__pgi_uacc_cuda_error_handler@cuda_error.c:64
The code use MPI, OpenACC, CUFFT and some CUDA kernels for important code parts. Unified memory is not used. The compiler and linking flags are
"FFLAGS= -O2 -acc -ta=tesla:cc60,cuda8.0 -Minfo=accel -Mcuda=cuda8.0 " \
"LFLAGS= " \
"LIBS= -acc -ta=tesla:cc60,cuda8.0 -Minfo=accel -Mcuda=cuda8.0 -lcufft " \
Thanks for your help,
Richard