Skip to content
forked from Pansysk75/pds2

Knn algorithm distributed using MPI, a collaborative project between https://github.com/Pansysk75/ and me.

Notifications You must be signed in to change notification settings

isidorostsa/knnMPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brute-force kNN in a distributed system using MPI

2nd Assignment for 2022-2023 Parallel and Distributed Systems course, Aristotle University of Thessaloniki

Requirements:

  • Recent MPI installation (must support C++17)
  • OpenBLAS

Build:

Run make in the top directory. The executables will appear in folder bin/.

Run:

There are four executables:

  • mpi: The main executable that runs the distributed kNN algorithm.
  • test_impl: Runs a test kNN run on a single process.
  • test_mpi: Runs a test data transmission between MPI processes.
  • generate_dataset: Used to generate a dataset (can be ignored).

The executables will provide information about additional arguments that are needed. For the main "mpi" executable, you may provide the included dataset located in datasets/ folder.

About

Knn algorithm distributed using MPI, a collaborative project between https://github.com/Pansysk75/ and me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.8%
  • Python 6.2%
  • Makefile 2.3%
  • Shell 0.7%