Skip to content
tolismPublic

About

Parallel and Distributed Systems : 2nd assignment

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

k-Nearest Neighbors Ring

Parallel and Distributed Systems : 2nd assignment

Installation and Execution

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.

Prerequisites

We will use the mpi library for the communication and the openblas for faster matrix calculations

#include <mpi.h>
#include "cblas"

Authors

  • Apostolos Moustaklis
  • Savvas Christoforidis

About

Parallel and Distributed Systems : 2nd assignment

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages