Projects for university course "Parallel and distributed systems".
Prim's algorithm (Parallel Version) written within OpenMPI.
How to run a program (via Makefile):
make prepare
- for preparing environment (adjusted to the laboratory conditions)make
- for compiling the programmake run
- to run the default version of program, takes 3 args:n
- number of processesin
- path to the file with input dataout
optional - path to the file with output data (adjacency matrix of MST)
make run0_
(_
means number between 1 and 5)
Prim's algorithm (Distributed Version) written within UPC++.
How to run a program (via Makefile):
make prepare
- for preparing environment (adjusted to the laboratory conditions)make compile
- for compiling the programmake run
- to run the default version of program, takes 3 args:n
- number of processesin
- path to the file with input dataout
optional - path to the file with output data (adjacency matrix of MST)
make run0_
(_
means number between 1 and 5)