[Darshan-commits] [Darshan] branch, master, updated. a783978ea560063ecd97240641d101c260626ffb

Service Account git at mcs.anl.gov
Wed Oct 29 10:48:51 CDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".

The branch, master has been updated
       via  a783978ea560063ecd97240641d101c260626ffb (commit)
      from  0ff8468881b17873c18b1c8e4c731e39f61b458d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a783978ea560063ecd97240641d101c260626ffb
Author: Phil Carns <carns at mcs.anl.gov>
Date:   Wed Oct 29 11:48:25 2014 -0400

    fix ytic labels for time interval graphs
    
    fixes #148

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    2 ++
 .../bin/darshan-job-summary.pl.in                  |    7 ++++++-
 2 files changed, 8 insertions(+), 1 deletions(-)


Diff of changes:
diff --git a/ChangeLog b/ChangeLog
index d65f586..8b77073 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@ darshan-2.3.1-pre1
   Chadalavada)
 * add --start-group and --end-group notation to Darshan libraries for Cray PE
   2.x environment to fix link-time corner cases (Yushu Yao)
+* improve y axis labels on time interval graphs in darshan-job-summary.pl
+  (reported by Tomo Peterka)
 
 darshan-2.3.0
 =============
diff --git a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
index ad5c0b6..1663244 100755
--- a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
+++ b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
@@ -787,7 +787,10 @@ system "$cp $PREFIX/share/*.gplt $tmp_dir/";
 system "$cp $PREFIX/share/*.tex $tmp_dir/";
 
 # generate template for file access plot (we have to set range)
-my $ymax = $nprocs + 1;
+my $ymax = $nprocs;
+my $yinc = int($nprocs / 8);
+if($yinc == 0) {$yinc=1;}
+my $ymaxtic = $nprocs-1;
 open(FILEACC, ">$tmp_dir/file-access-read-eps.gplt") || die("error opening output file:$!\n");
 print FILEACC "#!/usr/bin/gnuplot -persist
 
@@ -801,6 +804,7 @@ set format x \"%H:%M:%S\"
 set yrange [-1:$ymax]
 set title \"Timespan from first to last read access on independent files\"
 set xrange [\"0\":\"$runtime\"]
+set ytics 0,$yinc,$ymaxtic
 #set ytics -1,1
 set lmargin 4
 
@@ -831,6 +835,7 @@ set title \"Timespan from first to last write access on independent files\"
 set yrange [-1:$ymax]
 set xrange [\"0\":\"$runtime\"]
 #set ytics -1,1
+set ytics 0,$yinc,$ymaxtic
 set lmargin 4
 
 # color blindness work around


hooks/post-receive
--



More information about the Darshan-commits mailing list