Networking Forums

Networking Forums > Computer Networking > Linux Networking > HPL output graphing tool

Reply
Thread Tools Display Modes

HPL output graphing tool

 
 
Andrey Asadchev
Guest
Posts: n/a

 
      01-29-2004, 06:47 PM
Hi.

I am looking for a tool that can produce graphs/tables of output from
HPL (netlib.org). It does not have to be fancy - something simple.

Thanks.

 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      01-29-2004, 07:58 PM
Andrey Asadchev <(E-Mail Removed)> wrote:
> Hi.
>
> I am looking for a tool that can produce graphs/tables of output from
> HPL (netlib.org). It does not have to be fancy - something simple.


If you post a sample of the data, and a description of what your graph
should look like, I could hive you something to get you started using
gnuplot perhaps.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Andrey Asadchev
Guest
Posts: n/a

 
      01-30-2004, 05:46 AM
Cameron Kerr wrote:
> Andrey Asadchev <(E-Mail Removed)> wrote:
>
>>Hi.
>>
>>I am looking for a tool that can produce graphs/tables of output from
>>HPL (netlib.org). It does not have to be fancy - something simple.

>
>
> If you post a sample of the data, and a description of what your graph
> should look like, I could hive you something to get you started using
> gnuplot perhaps.
>


Just after i finished gnuplot basics i saw your post. :-) Oh well.


In case someone needs a simple script to graph hpl output (gflops vs
w00* for each problem size), here is one.


#!/bin/sh

# Usage:
# graphhpl.sh hpl.out problem_size1[,problem_size2[,...]] block_size p q
output.png

hpl=$(cat $1 | grep "^W00")
psizes=$(echo $2 | tr "," " ")
bsize=$3
p=$4
q=$5
output=$6

plot="set terminal png
set output \"$output\"
set title \"block size: $bsize, p: $p, q: $q\"
set xlabel \"W00*\"
set ylabel \"Gflops\"
plot "

for size in $psizes; do
plot=$plot" \"< echo -e \\\""$(echo -n "$hpl" |\
awk -v size="$size" -v bsize="$bsize" -v p="$p" -v q="$q" '
BEGIN {i = 0;} {
if ($2 == size && $3 == bsize && $4 == p && $5 == q) {
printf "%d %s\\n", i++, $7;}}'
)"\\\"\" title \"Problem size: $size\" with lines , "
done

plot=$(echo "$plot" | sed 's/, $//')

echo "$plot"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any tool to trace incoming and outgoing packets in Kernel, also loking for tool to debug application struck in infinite loops? GS Linux Networking 0 06-18-2006 04:24 AM
ettcp output Eugenio Milas Linux Networking 0 05-16-2004 07:16 PM
Netstumbler output 'Captain' Kirk DeHaan Wireless Internet 2 03-06-2004 03:29 PM
Output to a USB ptinter from DOS. Stan Hilliard Windows Networking 2 01-17-2004 05:11 PM
Bandwidth Mangement / Firewall / Graphing Nigel Kukard Linux Networking 0 10-31-2003 05:04 PM



1 2 3 4 5 6 7 8 9 10 11