PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PGI accelerator: cuMemFree error: launch failed

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



Joined: 21 Jan 2010
Posts: 85

PostPosted: Sun Jan 09, 2011 4:11 am    Post subject: PGI accelerator: cuMemFree error: launch failed Reply with quote

Hi,
running my program over several iterations, I get the error "call to cuMemFree returned error 700: Launch failed" after quite a while. As I am using PGI Accelerator Fortran, I am wondering what could be the reason.
I use 10.9 compiler and toolkit 3.1, CUDA driver version 3.2 on linux.

My accelerator region includes a nested loop and several private 3D-data (e.g. in1, in2 etc.):
Code:
!$acc region copyout(dis(0:numberPoints-1), counter(0:numberPoints-1),&
!$acc indices(0:numberPoints*3-1)), &
!$acc copyin(triangles(0:numberTriangles-1),points(0:numberPoints*4-1),&
!$acc wPoints(0:numberWPoints*4-1), normals(0:numberPoints*4-1))
!$acc do parallel, vector(64) private(o,d,v0,v1,v2,e1,e2,s,p,q,in1,in2,in3,dotProd,detInvers,u,v,tempDis)

The variables numberPoints at the like have different values for each accelerator execution.

Any idea?
Sandra
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jan 10, 2011 2:11 pm    Post subject: Reply with quote

Hi Sandra,

A "call to cuMemFree returned error 700: Launch failed" typically means the that the kernel abnormally aborted for some reason. I've seen it mostly if there was an out-of-bounds or other memory access violation.

Does the error occur at the same spot each time you run the program? One thing to try, is compile for the host using "-g -Mbounds" to check for out-of-bounds error. You can also try using Valgrind (www.valgrind.org) to check for memory errors.

Hope this helps and Go Ducks!
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