|
120 | 120 | nodes = list(Nprocs)
|
121 | 121 | ymax = max(map(max,timers_avg))+1.0
|
122 | 122 |
|
123 |
| -NN = Nprocs[ numpy.size(Nprocs) - 2] - 0.75 |
| 123 | +NN = Nprocs[ numpy.size(Nprocs) - 2] - 0.85 |
124 | 124 |
|
125 |
| -plt.gca().annotate('Serial runtime', xy=( NN, 1.075*time_serial_f), xytext=( NN, 1.075*time_serial_f ), fontsize=fs-1) |
126 |
| -plt.gca().set_yscale('log') |
| 125 | +plt.gca().annotate('Serial runtime', xy=( NN, 1.075*time_serial_f), xytext=( NN, 1.075*time_serial_f ), fontsize=fs-1, fontweight='bold') |
| 126 | +#plt.gca().set_yscale('log') |
127 | 127 | #plt.gca().set_xscale('log')
|
128 | 128 | plt.xlabel(r'Number of cores $P$', fontsize=fs)
|
129 |
| -plt.ylabel('Runtime [sec.] (log-scaled)', fontsize=fs, labelpad=2) |
| 129 | +plt.ylabel('Runtime [sec.]', fontsize=fs, labelpad=2) |
130 | 130 |
|
131 | 131 | plt.tick_params(axis='both', which='major', labelsize=fs)
|
132 | 132 |
|
133 |
| -plt.gca().set_ylim([2.0, 50.0]) |
| 133 | +plt.gca().set_ylim([0.0, 20.0]) |
134 | 134 | if machine=="dora":
|
135 | 135 | plt.gca().set_xticks([2,6,10,14,18,22])
|
136 | 136 | if machine=="cub" or machine=="centos":
|
137 | 137 | plt.gca().set_xticks(Nprocs)
|
138 |
| -plt.gca().set_yticks([5, 10, 20, 50]) |
139 |
| -plt.gca().set_yticklabels(["5", "10", "20", "50"]) |
| 138 | +plt.gca().set_yticks([5, 10, 20]) |
| 139 | +plt.gca().set_yticklabels(["5", "10", "20"]) |
140 | 140 | plt.gca().get_yaxis().get_major_formatter().labelOnlyBase = False
|
141 | 141 | plt.grid(True)
|
142 | 142 | if machine=="dora":
|
|
0 commit comments