PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

ERROR INFORMATION using Tesla K20M

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Fri May 03, 2013 8:10 am    Post subject: ERROR INFORMATION using Tesla K20M Reply with quote

Today, I installed PGI Accelerator Workstation 13.4 version on my machine with Tesla K20M. I used -Mcuda=cuda5.0,cc3x to complie the program which compiled succeslly with -Mcuda=4.2,cc2x before. but I got error information:

pgfortran -Mcuda=cuda5.0,cc3x -lcublas -c -O2 -Kieee gpukernel.cuf
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/cpp_type_traits.h(358): error: expected an identifier

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/cpp_type_traits.h(371): error: expected an identifier

I have to change back to pgfortran -Mcuda=cuda4.2,cc2x -lcublas -c -O2 -Kieee gpukernel.cuf, then I compiled succesfully and the results were aslo correct. I want to know why, if I have to use to cuda4.2,cc2x for compiling, I could not fully use K20M's performance.Please kindly help me.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6213
Location: The Portland Group Inc.

PostPosted: Tue May 07, 2013 10:38 am    Post subject: Reply with quote

Hi Teslalady,

Looks like an incompatibility or configuration issue with CUDA 5.0 and GCC 4.1.2. I was able to recreate the error on one of our older systems but not on systems with newer GCC versions. I'll see if it's something we can work around in the compiler driver.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group