| View previous topic :: View next topic |
| Author |
Message |
THX 1138
Joined: 30 Jun 2011 Posts: 97
|
Posted: Thu Jul 12, 2012 9:48 am Post subject: pgcollect command does not run |
|
|
[james@james WEGtest-64]$ pgcollect -es-function mem_bw_data ./grab_64
[sudo] password for james:
Argument for --event, DRAM_ACCESSES:500000:0x07}:0:1, is not valid argument.
pgprof: could not set oprofile event profiling mode
[james@james WEGtest-64]$
The above output is the result of my trying to run the command
pgcollect -es-function mem_bw_data ./grab_64
The .proprun is in the same directory as the executable garb_64 and opreort is in $PATH.
as shown:
[james@james WEGtest-64]$ echo $PATH
/opt/pgi/linux86-64/12.5/bin/:/home/james/Desktop/cilkutil/bin/:/home/james/Desktop/cilkutil/include/cilktools/:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/james/bin
[james@james WEGtest-64]$ sudo find / -iname .pgoprun
/home/james/Desktop/WEGtest-64/.pgoprun
[james@james WEGtest-64]$ sudo find / -iname opreport
/usr/bin/opreport
i am unsure as to why the pgcollect command is not running and giving the above output.
Any help appreciated. Thanks in advance.
THX 1138 |
|
| Back to top |
|
 |
donb
Joined: 20 Jul 2004 Posts: 82 Location: The Portland Group, Inc.
|
Posted: Thu Jul 12, 2012 2:30 pm Post subject: |
|
|
Can you post your .pgoprun file, or email it to trs@pgroup.com with a note to forward it to the tools group?
thanks
--don |
|
| Back to top |
|
 |
THX 1138
Joined: 30 Jun 2011 Posts: 97
|
Posted: Fri Jul 13, 2012 7:02 am Post subject: .opgoprun file posting |
|
|
Okay, here is a post of my .opgoprun file that you requested. Please note that it is in the same directory as the source code and executable.
Any help appreciated. Thanks in advance.
THX 1138
cpi_data () {
event[${#event[@]}]=--event=CPU_CLK_UNHALTED:500000:0x00:0:1
event[${#event[@]}]=--event=RETIRED_INSTRUCTIONS:500000:0x00:0:1
}
mem_bw_data () {
event[${#event[@]}]=--event=CPU_CLK_UNHALTED:500000:0x00:0:1
event[${#event[@]}]=--event=SYSTEM_READ_RESPONSES:500000:0x07:0:1
event[${#event[@]}]=--event=QUADWORD_WRITE_TRANSFERS:500000:0x00:0:1
event[${#event[@]}]=--event=DRAM_ACCESSES:500000:0x07}:0:1
} |
|
| Back to top |
|
 |
donb
Joined: 20 Jul 2004 Posts: 82 Location: The Portland Group, Inc.
|
Posted: Mon Jul 16, 2012 10:40 am Post subject: |
|
|
| It looks like there is a typo in your .pgoprun file, with a spurious '}' following the 0x7 in the DRAM_ACCESSES line. |
|
| Back to top |
|
 |
|