-
Notifications
You must be signed in to change notification settings - Fork 120
/
go
27 lines (21 loc) · 1.17 KB
/
go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# sequential K-means -------------------------------------------------------
seq_main -o -b -n 4 -i Image_data/color17695.bin
seq_main -o -b -n 4 -i Image_data/edge17695.bin
seq_main -o -b -n 4 -i Image_data/texture17695.bin
seq_main -o -n 4 -i Image_data/color100.txt
seq_main -o -n 4 -i Image_data/edge100.txt
seq_main -o -n 4 -i Image_data/texture100.txt
# OpenMP K-means using pragma atomic -----------------------------------------
omp_main -a -o -b -n 4 -i Image_data/color17695.bin
omp_main -a -o -b -n 4 -i Image_data/edge17695.bin
omp_main -a -o -b -n 4 -i Image_data/texture17695.bin
omp_main -a -o -n 4 -i Image_data/color100.txt
omp_main -a -o -n 4 -i Image_data/edge100.txt
omp_main -a -o -n 4 -i Image_data/texture100.txt
# MPI K-means -------------------------------------------------------
mpiexec -n 4 mpi_main -o -b -n 4 -i Image_data/color17695.bin
mpiexec -n 4 mpi_main -o -b -n 4 -i Image_data/edge17695.bin
mpiexec -n 4 mpi_main -o -b -n 4 -i Image_data/texture17695.bin
mpiexec -n 4 mpi_main -o -n 4 -i Image_data/color100.txt
mpiexec -n 4 mpi_main -o -n 4 -i Image_data/edge100.txt
mpiexec -n 4 mpi_main -o -n 4 -i Image_data/texture100.txt