diff --git a/results/data/omp_coreset_optlloyd_14.txt b/results/data/omp_coreset_optlloyd_14.txt new file mode 100644 index 0000000..9f064bb --- /dev/null +++ b/results/data/omp_coreset_optlloyd_14.txt @@ -0,0 +1,7 @@ +num threads = 14 +Method: optk++ +Parallelism: omp +Coreset: 1 +Data: /u/home/e/ericdang/Kmeans/data/data_1000000_10_50.txt + 0.736452s wall, 5.670000s user + 0.020000s system = 5.690000s CPU (772.6%) +Error: 1.00084e+07 diff --git a/results/data/omp_optlloyd_14.txt b/results/data/omp_optlloyd_14.txt new file mode 100644 index 0000000..95a304a --- /dev/null +++ b/results/data/omp_optlloyd_14.txt @@ -0,0 +1,6 @@ +Method: optk++ +Parallelism: omp +Coreset: 0 +Data: /u/home/e/ericdang/Kmeans/data/data_1000000_10_50.txt + 3.321027s wall, 33.230000s user + 0.020000s system = 33.250000s CPU (1001.2%) +Error: 1.00041e+07 diff --git a/results/plot_results.py b/results/plot_results.py index 7a2c338..d82ea44 100644 --- a/results/plot_results.py +++ b/results/plot_results.py @@ -121,11 +121,11 @@ def parse_method(filename): if __name__ == "__main__": times = parse_times() - # opt_serial, opt_parallel = plot_times(times, OMP, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2) + opt_serial, opt_parallel = plot_times(times, OMP, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2) # opt_coreset_serial, opt_coreset_parallel = plot_times( # times, OMP, OPTLLOYD, SERIAL_COLOR1, PARALLEL_COLOR1, coreset=True) - opt_serial, opt_parallel = plot_times(times, MPI, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2) + # opt_serial, opt_parallel = plot_times(times, MPI, OPTLLOYD, SERIAL_COLOR2, PARALLEL_COLOR2) # opt_coreset_serial, opt_coreset_parallel = plot_times( # times, MPI, OPTLLOYD, SERIAL_COLOR1, PARALLEL_COLOR1, coreset=True) @@ -135,7 +135,7 @@ def parse_method(filename): plt.legend(handles=[opt_serial, opt_parallel], loc='center', bbox_to_anchor=(0.825, 0.75)) # plt.legend(handles=[opt_coreset_serial, opt_coreset_parallel], loc='center', bbox_to_anchor=(0.825, 0.75)) - plt.title('MPI OptLloyd KMeans') + plt.title('OMP OptLloyd KMeans') plt.tight_layout() # plt.show() - plt.savefig('mpi_optlloyd.png', dpi=1400) + plt.savefig('omp_optlloyd.png', dpi=1400) diff --git a/results/plots/omp_optlloyd.png b/results/plots/omp_optlloyd.png index 5d50716..b9a4e3e 100644 Binary files a/results/plots/omp_optlloyd.png and b/results/plots/omp_optlloyd.png differ diff --git a/results/plots/omp_optlloyd_coreset.png b/results/plots/omp_optlloyd_coreset.png index c7c2ea9..1104c87 100644 Binary files a/results/plots/omp_optlloyd_coreset.png and b/results/plots/omp_optlloyd_coreset.png differ