how to solve pgcc&openacc linker error “__pgi_uacc_multicorestart”, “__pgi_uacc_multicoreend”
问题 I am trying to parallelize my program in C with OpenACC 2.5 on Ubuntu 16.04 LTS. After a simple modification which is just adding one line, I can compile all my .c files to .o files. In the linking step, pgcc compiler shows undefined reference to `__pgi_uacc_multicorestart' and undefined reference to `__pgi_uacc_multicoreend' . Google search shows nothing related to these error message. Please help me on this problem. Here is the information and source code related to my system and program. I