I have Tesla K80 and RTX 3060 Ti cards in my machine. I have a simple example program that uses OpenACC. It compiles and runs on both cards without a problem when mps control daemon does not run. However, when I firstly run the daemon (nvidia-cuda-mps-control -d) the program still runs OK on the RTX card but breaks/exits on K80.
I compiled the program with
nvc++ -acc=gpu -gpu=ccall,cuda11.2,fma -Minfo=all -O3 test.cpp
When I run it on K80 I get the following, where at line 31 is the first OpenACC directive in the file.
Current file: /home/popsi/test/cuda/openacc/test.cpp
This file was compiled: -ta=tesla:cc35,cc50,cc60,cc70,cc75,cc80
To repeat, the program runs without issues on the RTX card and braks on K80.
As far as I know K80 supports CUDA Hyper-Q/mps.
CUDA Toolkit version is 11.2, Nvidia Driver is 460.39, Linux OS with kernel 5.9.16.
How to solve this problem?