| View previous topic :: View next topic |
| Author |
Message |
WmBruce
Joined: 18 May 2009 Posts: 14
|
Posted: Tue Jul 27, 2010 12:31 pm Post subject: profiler not giving any info |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Tue Jul 27, 2010 4:02 pm Post subject: |
|
|
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 |
|
 |
WmBruce
Joined: 18 May 2009 Posts: 14
|
Posted: Wed Aug 04, 2010 1:42 pm Post subject: |
|
|
| thanks mat |
|
| Back to top |
|
 |
|