File: gpus.gplot

package info (click to toggle)
mumax3 3.11.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 10,668 kB
  • sloc: makefile: 194; ansic: 155; sh: 86; javascript: 16
file content (20 lines) | stat: -rwxr-xr-x 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/gnuplot

# Width for decent spacing: 100 + 10*NUM_GPU_BENCHMARKS
set term svg size 650, 470 font "DejaVu Sans,11"
set output "gpus.svg"
set encoding utf8
set boxwidth 0.6
set style fill solid noborder
set key off
set ylabel "throughput (M cells/s)"
set xtics rotate by -90
set xtics scale 0
#set xtics out offset 0,-1.2
#set title "Mumax3 GPU performance for 2D simulations containing 4 million cells" font ",12" textcolor "#888888"
#set logscale y 10

set yrange[1:2000]
plot "gpus.txt" u ($0+1):($2/1e6):xtic(4) w boxes title " ", "oommf4M.txt" u (0):(4*$1**2 * $2 /$3/1e6):xtic("OOMMF (CPU)") w boxes

set output