PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

pgcollect Access Violation (CUDA)

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
phw_89



Joined: 07 Feb 2011
Posts: 2

PostPosted: Wed Feb 09, 2011 8:17 am    Post subject: pgcollect Access Violation (CUDA) Reply with quote

Hi,

I'm trying to use the pgcollect command to profile a CUDA program. I get this error for the matmul program as well so I'll use that to illustrate. The source code is here http://www.pgroup.com/lit/samples/matmul.CUF

I compile my program using:

Code:
pgfortran -fast -Minfo=ccff matmul_CUDA.CUF -o matmul_CUDA


This works fine (I can run this executable with no problems). When I try to profile it using:

Code:
pgcollect -cuda matmul_CUDA


I get the following error:

target process abnormal termination: Error: ACCESS_VIOLATION in target program: Exception
no profile generated


I really need to be able to profile my code so if anyone can help that'd be great :)

I'm running Win XP 32bit and using NVIDIA GeForce 210 (compute v1.2)[/url]
Back to top
View user's profile
donb



Joined: 20 Jul 2004
Posts: 88
Location: The Portland Group, Inc.

PostPosted: Wed Feb 09, 2011 3:13 pm    Post subject: Reply with quote

phw_89:

I'll try to reproduce the behavior you are seeing.

In the meantime, you might try
Code:

pgcollect -cuda=gmem,cc12 matmul_CUDA


to see if things work any better.

--Don
Back to top
View user's profile
phw_89



Joined: 07 Feb 2011
Posts: 2

PostPosted: Fri Feb 11, 2011 3:59 am    Post subject: Reply with quote

Thank you for the reply. Unfortunately I have already tried that with no luck.

There's plenty of room on the Device for the arrays so it's not like there's memory issues. I'm pretty stumped to be honest...
Back to top
View user's profile
donb



Joined: 20 Jul 2004
Posts: 88
Location: The Portland Group, Inc.

PostPosted: Fri Feb 11, 2011 12:06 pm    Post subject: Reply with quote

I haven't been able to reproduce the behavior you are seeing here, although unfortunately I don't have the exact configuration you are using.

In order to make progress on this, please send an email to trs@pgroup.com. Refer to this User Forum thread (http://www.pgroup.com/userforum/viewtopic.php?t=2442) and ask that a TPR be filed and assigned to "donb".

Then, if you are willing, I will contact you and we can work out a plan to debug this problem.

thanks
--donb
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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