Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alonski/symmetrical-dollop
https://github.com/alonski/symmetrical-dollop
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alonski/symmetrical-dollop
- Owner: Alonski
- Created: 2020-08-01T17:23:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T18:56:27.000Z (over 4 years ago)
- Last Synced: 2024-10-19T07:03:35.672Z (3 months ago)
- Language: C
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel Programming Heavy Computation
Created by Alon Bukai and Oleg Danilok
## Two Parallelization Implementations
### Static Task Pools
### Dynamic Task Pools
## Instructions to Build
To build this project a *Makefile* is included.
Just run `make` in your terminal.
## Instructions to Run
This project must be run using `make run` and supplied the file(FILE) to run and the number(N) of processes to create in parallel.
An example to build and run any program:
```sh
mpicc -c static.c && mpicc -o exec static.o -lm && mpiexec -np 4 ./exec
```An example to run the *Sequential* program:
```sh
make run FILE=sequential N=1
```
The above should print: `answer = 8.354289e+06`.An example to run the *Static* program:
```sh
make run FILE=static N=5
```
The above should print: `answer = 8.354289e+06`.An example to run the *Dynamic* program:
```sh
make run FILE=dynamic N=5
```
The above should print: `answer = 8.354289e+06`.