Dear Mat,
I’ ve installed CUDA8.0 on Ubuntu16.04 before installed PGI16.10 complier.
When I try to compile a test file by using command ’ pgc++ -acc main.cpp -o main’, some errors occur. The error code are:
pgnvd-Error-CUDADIR value is not a directory: /opt/pgi/linux86-64/2016/cuda/7.0/bin
PGCC-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (main.cpp: 1)
PGCC/x86 Linux 16.10-0: compilation aborted
There’s indeed no directory ‘/opt/pgi/linux86-64/2016/cuda/7.0/bin’.
Then I tried to use command flag -ta=tesla:cuda8.0, but result a new problem. The error message is:
‘pgc+±Error-CUDA version 8.0 is not available in this installation’
Hope you can help me this problem. Thanks.