PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

profiler not giving any info

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



Joined: 18 May 2009
Posts: 14

PostPosted: Tue Jul 27, 2010 12:31 pm    Post subject: profiler not giving any info Reply with quote

Hi,

I've been playing around with the pgprofiler for awhile and it seems like if I do not compile and collect it in a specific folder, the profiler is blank when ran. If I move the source code to this specific folder, compile and collect it, it will work fine.

Any ideas how to fix this since I would like to organize my programs and not cram all of them in one folder.

I'm using Windows 7 x64 with PGI Workstation 10.6(64)

Commands I use to profile:
pgfortran -Minfo=ccff (+ other options) filename.f90
pgcollect filename
pgprof -exe filename
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jul 27, 2010 4:02 pm    Post subject: Reply with quote

Hi WmBruce,

To have pgrpof find your projects source files that are not in the local directory, use the "-I<src_dir>" option. More than one "-I" directories can be included. Also, you can specific which profiler output file (pgprof.out) you wish to view by adding it as the last argument. For example:
Code:
pgprof -exe filename -I.\src run\pgprof.out
Since you're using Windows, you may need to quote your path names if they include spaces or use the DOS path names.

For more detailed information, please refer to the output from 'pgprof -help' of the PGI Tools User's Guide.

- Mat
Back to top
View user's profile
WmBruce



Joined: 18 May 2009
Posts: 14

PostPosted: Wed Aug 04, 2010 1:42 pm    Post subject: Reply with quote

thanks mat
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