https://github.com/mrrodrigo/openmp-mpi
Calculate area of Mandlebrot in parallel by OpemMP and MPI.
https://github.com/mrrodrigo/openmp-mpi
mandlebrot mpi mpicc mpicc-compiler openmp
Last synced: about 1 month ago
JSON representation
Calculate area of Mandlebrot in parallel by OpemMP and MPI.
- Host: GitHub
- URL: https://github.com/mrrodrigo/openmp-mpi
- Owner: mrRodrigo
- Created: 2020-05-09T18:51:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T17:12:40.000Z (almost 5 years ago)
- Last Synced: 2025-01-24T11:44:44.041Z (3 months ago)
- Topics: mandlebrot, mpi, mpicc, mpicc-compiler, openmp
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Calculate area of Mandlebrot in parallel by OpemMP and MPI.
mpicc -> sudo apt-get install libopenmpi-dev
### To run only openMP file
- Compile with fopenmp flag
```
mpicc OpenMpVersion.c -o mp -fopenmp
```
- Run
```
./mp
```### To run only MPI file
- Compile with mpicc compiler
```
mpicc MPIVersion.c -o mpi
```- Run
```
mpirun -np <# of processes per node> mpi
```### To run only openMP/MPI file
- Compile with mpicc compiler
```
mpicc MPIOpenMPVersion.c -o mpiopenmp -fopenmp
```- Run
```
mpirun -np <# of processes per node> mpiopenmp
```