# Gnuplot script # plot 80bit over 64-bit performance in parallel calculations with OpenMP reset set macros #set term png enhanced font arial 10 size 520,390 set term png enhanced font arial 10 size 600,600 set xlabel "N" set key right center Right set xrange [2**16 : 2**34] #set yrange [1:25] #set ytics (1,2,3,4,8,10,20,25) set logscale x #set logscale y set grid ### parallel vs. sequential set output 'real10_real8-prl.png' #set ylabel "Parallel OpenMP gain in performance" set title "80-bit over 64-bit performance in OpenMP" system("paste 8_rut_omp.dat 10_rut_omp.dat > rut.tmp") system("paste 8_nuke_omp.dat 10_nuke_omp.dat > nuke.tmp") system("paste 8_chromebook_omp.dat 10_chromebook_omp.dat > chromebook.tmp") system("paste 8_cluster_omp.dat 10_cluster_omp.dat > cluster.tmp") system("paste 8_cluster23_omp.dat 10_cluster23_omp.dat > cluster23.tmp") system("paste 8_cluster42_omp.dat 10_cluster42_omp.dat > cluster42.tmp") plot \ "cluster42.tmp" using 2:($5/$10) title "Cluster42 (No.cores=24)" with lines lw 2 lc rgb "brown",\ "cluster23.tmp" using 2:($5/$10) title "Cluster23 (No.cores=8)" with lines lw 2 lc rgb "gray",\ "cluster.tmp" using 2:($5/$10) title "Cluster (No.cores=4)" with lines lw 2 lc rgb "black",\ "rut.tmp" using 2:($5/$10) title "Laptop (No.cores=4)" with lines lw 2 lc rgb "red",\ "nuke.tmp" using 2:($5/$10) title "Nuke (No.cores=2)" with lines lw 2 lc rgb "blue",\ "chromebook.tmp" using 2:($5/$10) title "Chromebook (No.cores=2)" with lines lw 2 lc rgb "green"