Applying image filters using Parallel Programming Techniques.
Check your compiler's version of gcc by typing:
gcc --version
- 4.4 or newer version is required.
Τo install mpicc. Type:
apt install mpich
Download source code by typing:
git clone https://github.com/msiampou/Image-Convolution.git
mpicc mpi.c -lm
mpicc -fopenmp mpi.c -lm
mpiexec -f <machines> -n <processes> ./a.out width height type loops
mpiexec -n <processes> ./a.out width height type loops
Before | After 50 loops |
---|---|