PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Unable to extract Compiler Feedback Information
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Thu Mar 21, 2013 8:26 am    Post subject: Unable to extract Compiler Feedback Information Reply with quote

When I enable compiler feedback information via –Minfo=ccff or enable function level profiling and attempt to run pgprof, I always end up with the error:

Unable to extract Compiler Feedback information from [executable]
Possible causes include file and directory permissions and disk space

Disabling compiler feedback and performing basic profiling with pgcollect works OK.

I would really like to enable compiler feedback when profiling. Is there a way to get around this issue? I am on Windows 7 64-bit using Visual Fortran 13.3. I have plenty of disk space ~600GB free and have full permissions (I am administrator).

Thanks
~David
Back to top
View user's profile
ams



Joined: 14 Jul 2004
Posts: 41

PostPosted: Sat Mar 23, 2013 8:31 pm    Post subject: Reply with quote

David,

When you invoke pgcollect, are you in the directory where it was built by PVF? For example, if your solution and project are named app1 then:

C:\tmp\app1\app1\x64\Debug> pgcollect app1

If so, try moving up two directories and running from there:

C:\tmp\app1\app1> pgcollect x64\Debug\app1

Then invoke pgprof:

C:\tmp\app1\app1> pgprof

It looks like a problem with pgprof's expectations regarding paths. If this works for you, let us know. Hopefully it will get you going.
Back to top
View user's profile
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Mon Mar 25, 2013 8:05 am    Post subject: Reply with quote

I just tried your advice of running pgprof from the project base path and unfortunately that didn't work either. I still get the same error.

'unable to extract Compiler Feedback information...'.
Back to top
View user's profile
donb



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

PostPosted: Tue Mar 26, 2013 3:08 pm    Post subject: Reply with quote

Just one thing more to check...before you run pgprof from the project base directory, you should delete the directory "pgprof.ccff" located in the same directory as the executable (if it exists).

Let us know if that has any effect.
thanks
Back to top
View user's profile
odlantern



Joined: 30 Aug 2010
Posts: 17

PostPosted: Wed Mar 27, 2013 9:08 am    Post subject: Reply with quote

I tried your recommendation and I still get the same error unfortunately. The only way I can seem to get pgprof to work is if I turn CCFF information completely off.
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
Goto page 1, 2  Next
Page 1 of 2

 
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