PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

openAcc Error: cuda_enter.c: No such file or directory

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



Joined: 08 Jun 2013
Posts: 1

PostPosted: Sun Jun 09, 2013 10:17 am    Post subject: openAcc Error: cuda_enter.c: No such file or directory Reply with quote

I'm facing problem while running a code of matrix multiplication using openacc on GPU.
Following is the execution trace from cuda-gdb. I couldn't locate cuda_enter.c on my machine. My machine configuration is : GPU= Kepler GTX690 (K10), CUDA 5.0, Ubuntu11.10, Xeon 64bit processor.


Starting program: /home/arun/SW_vaibhav/openACC/mm
[Thread debugging using libthread_db enabled]
warning: Cuda API error detected: cuCtxAttach returned (0xc9)

[New Thread 0x7ffff5ea7700 (LWP 21379)]
[Context Create of context 0x766c60 on Device 0]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000405172 in __pgi_uacc_cuda_enter (rversion=0x7fffffffdda8, objinfo=0x61d720, dindex=1) at cuda_enter.c:137
137 cuda_enter.c: No such file or directory.
in cuda_enter.c
(cuda-gdb) q
A debugging session is active.

Inferior 1 [process 21373] will be killed.


Thanks in Advance
Arun
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jun 10, 2013 9:52 am    Post subject: Reply with quote

Hi Arun,

cuda_enter.c is part of the CUDA run time library so not a file you'll be able to debug. Though, this indicates that there's something wrong with your configuration and that the PGI run time isn't able to create a device context.

Are you able to run a CUDA C program? What is the output from the "pgaccelinfo" utility?

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jun 14, 2013 8:05 am    Post subject: Reply with quote

Hi Arun,

I was wrong. What's happening is that the compiler is failing to generate a kernel but the run time is still trying to launch it. Can you post the "-Minfo=accel" output from your compile and then add the flag "-ta=nvidia,required"?

Also, can you please send to PGI Customer Service (trs@pgroup.com) a reproducing example?

Thanks,
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