Skip to content

Calculate area of Mandlebrot in parallel by OpemMP and MPI.

Notifications You must be signed in to change notification settings

mrRodrigo/openMp-MPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

Calculate area of Mandlebrot in parallel by OpemMP and MPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages