Parallel and Distributed Systems : 2nd assignment
To execute the versions
Incase you have problem with the execution , copy your own lib folder , with the BLAS libraries
make all
./src/knnring_sequential
mpirun -np <number of processes> ./src/knnring_mpi_syc
mpirun -np <number of processes> ./src/knnring_mpi_asyc
To change the number of points , dimensions and k , modify the tester.c for the sequential and tester_mpi.c for the mpi versions.
We will use the mpi library for the communication and the openblas for faster matrix calculations
#include <mpi.h>
#include "cblas"
- Apostolos Moustaklis
- Savvas Christoforidis