| View previous topic :: View next topic |
| Author |
Message |
odlantern
Joined: 30 Aug 2010 Posts: 11
|
Posted: Thu Mar 21, 2013 8:26 am Post subject: Unable to extract Compiler Feedback Information |
|
|
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 |
|
 |
ams
Joined: 14 Jul 2004 Posts: 24
|
Posted: Sat Mar 23, 2013 8:31 pm Post subject: |
|
|
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 |
|
 |
odlantern
Joined: 30 Aug 2010 Posts: 11
|
Posted: Mon Mar 25, 2013 8:05 am Post subject: |
|
|
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 |
|
 |
donb
Joined: 20 Jul 2004 Posts: 82 Location: The Portland Group, Inc.
|
Posted: Tue Mar 26, 2013 3:08 pm Post subject: |
|
|
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 |
|
 |
odlantern
Joined: 30 Aug 2010 Posts: 11
|
Posted: Wed Mar 27, 2013 9:08 am Post subject: |
|
|
| 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 |
|
 |
|