An open API service indexing awesome lists of open source software.

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.

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
```