Skip to content

Parallel and Distributed Systems : 2nd assignment

Notifications You must be signed in to change notification settings

tolism/knn-ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published