GitLab maintenance scheduled for Tomorrow, 2020-03-31, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 5260d4a4 authored by Philip Carns's avatar Philip Carns

rought cut at converting gnuplot stuff to use eps then convert to pdf


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@33 3b7491f3-a168-0410-bf4b-c445ed680a29
parent f00f474a
#!/usr/bin/gnuplot -persist #!/usr/bin/gnuplot -persist
set terminal postscript eps color enhanced "Helvetica" 15 set terminal postscript eps color enhanced font "Helvetica" 18
set output "counts.eps" set output "counts.eps"
set size 0.6,0.6 set size 0.8,1.0
set style data histogram set style data histogram
set style histogram cluster gap 1 set style histogram cluster gap 1
...@@ -18,7 +18,7 @@ set ytics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0 ...@@ -18,7 +18,7 @@ set ytics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
set key title "" set key title ""
set datafile separator "," set datafile separator ","
set ylabel "Operations (Total, All Processes)" set ylabel "Ops (Total, All Processes)"
set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90 set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90
set title "I/O Operation Counts" set title "I/O Operation Counts"
......
...@@ -306,13 +306,17 @@ print TIME ", ", (($summary{CP_F_MPI_META_TIME}/($runtime * $nprocs))*100), "\n" ...@@ -306,13 +306,17 @@ print TIME ", ", (($summary{CP_F_MPI_META_TIME}/($runtime * $nprocs))*100), "\n"
close TIME; close TIME;
# execute gnuplot scripts # execute gnuplot scripts
system "gnuplot counts-pdf.gplt"; system "gnuplot counts-eps.gplt";
system "gnuplot hist-pdf.gplt"; system "epstopdf counts.eps";
system "gnuplot pattern-pdf.gplt"; system "gnuplot hist-eps.gplt";
system "epstopdf hist.eps";
system "gnuplot pattern-eps.gplt";
system "epstopdf pattern.eps";
system "gnuplot align-pdf.gplt"; system "gnuplot align-pdf.gplt";
system "gnuplot iodist-pdf.gplt"; system "gnuplot iodist-pdf.gplt";
system "gnuplot types-pdf.gplt"; system "gnuplot types-pdf.gplt";
system "gnuplot time-summary-pdf.gplt"; system "gnuplot time-summary-eps.gplt";
system "epstopdf time-summary.eps";
# generate summary PDF # generate summary PDF
system "pdflatex -halt-on-error summary.tex > latex.output"; system "pdflatex -halt-on-error summary.tex > latex.output";
......
#!/usr/bin/gnuplot -persist
set terminal postscript eps color enhanced font "Helvetica" 18
set output "hist.eps"
set size 0.8,1.0
set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
set boxwidth 0.9
set bmargin 5
set border 3 front linetype -1 linewidth 1.000
set key out bottom horiz
set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0
set ytics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
set key title ""
set datafile separator ","
set ylabel "Count (Total, All Procs)"
set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90
set bmargin 7
set title "I/O Sizes"
# PR, MIR, MCR, PW, MIW, MCW, Popen, Pseek, Pstat
plot "hist.dat" using 2:xtic(1) title "Read", \
"" using 3 title "Write"
#!/usr/bin/gnuplot -persist
set terminal postscript eps color enhanced font "Helvetica" 18
set output "pattern.eps"
set size 0.8,1.0
set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
set boxwidth 0.9
set bmargin 5
set border 3 front linetype -1 linewidth 1.000
set key out bottom horiz
set xtics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
set ytics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
set key out bottom horiz
set key title ""
set datafile separator ","
set ylabel "Ops (Total, All Procs)"
set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90
set title "I/O Pattern"
plot "pattern.dat" using 2:xtic(1) title "Total", \
"" using 3 title "Sequential", \
"" using 4 title "Consecutive"
...@@ -30,32 +30,33 @@ ...@@ -30,32 +30,33 @@
\pagestyle{fancy} \pagestyle{fancy}
\begin{figure}[!h] \begin{figure}[!h]
\vspace{-11pt} %\vspace{-11pt}
\centering \centering
\input{job-table} \input{job-table}
\vspace{11pt} %\vspace{11pt}
\end{figure} \end{figure}
\begin{figure}[!h] \begin{figure}[!h]
\vspace{-5pt} %\vspace{-5pt}
\centering \centering
\includegraphics[scale=0.8]{time-summary.pdf} \includegraphics[scale=0.8]{time-summary.pdf}
%\vspace{-11pt} %\vspace{-11pt}
\end{figure} \end{figure}
\begin{figure}[!h] \begin{figure}[!h]
\vspace{8pt} %\vspace{8pt}
\centering \centering
\includegraphics[scale=0.8]{counts.pdf} \includegraphics[scale=0.8]{counts.pdf}
\end{figure} \end{figure}
\begin{figure}[!h] \begin{figure}[!h]
\vspace{8pt} %\vspace{8pt}
\centering \centering
\includegraphics[scale=0.8]{hist.pdf} \includegraphics[scale=0.8]{hist.pdf}
\end{figure} \end{figure}
\begin{figure}[!h] \begin{figure}[!h]
\vspace{-100pt} %\vspace{-100pt}
\centering \centering
\includegraphics[scale=0.8]{pattern.pdf} \includegraphics[scale=0.8]{pattern.pdf}
\end{figure} \end{figure}
...@@ -65,6 +66,8 @@ ...@@ -65,6 +66,8 @@
\input{access-table} \input{access-table}
\end{figure} \end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% at this point, things fall onto page 2 % at this point, things fall onto page 2
%\begin{figure}[!h] %\begin{figure}[!h]
%\includegraphics[scale=0.7]{types.pdf} %\includegraphics[scale=0.7]{types.pdf}
......
#!/usr/bin/gnuplot -persist
set terminal post eps enhanced color font "Helvetica" 18
set output "time-summary.eps"
set size 0.8,1.0
set style data histograms
set style histogram rowstacked
set style fill solid border -1
set boxwidth 0.9
set bmargin 5
set border 3 front linetype -1 linewidth 1.000
set key out bottom horiz
set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0
set ytics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
set key title ""
set datafile separator ","
set ylabel "Percentage of run time"
set ylabel offset character 2,0,0 font "" textcolor lt -1 rotate by 90
set yrange [0:100]
set title "Average I/O cost per process"
set bmargin 8
plot \
newhistogram "", "time-summary.dat" using 3:xtic(1) title "Read", "" using 4 title "Write", "" using 5 title "Metadata", "" using 2 title "Other (including application compute)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment