Skip to content
Parallel Programming using OpenMP/MPI
C++ C
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MPI
OpenMP
.gitignore
README.md

README.md

Parallel Programming using Open MP / MPI

Open MP

Tutorials

NPTEL Course

Basic Programs

  1. Hello World

     $ g++ -fopenmp -o hello helloWorld.cpp
     $ ./hello
    
  2. Matrix multiplication

     $ g++ -fopenmp -o mul matrixMultiplication.cpp
     $ ./mul
    

MPI

Installation

  1. MPICH2
  2. Open MPI

Tutorials

MPI Tutorials

Programs

  1. Hello World

     $ mpicc -o hello mpi_hello_world.cpp
     $ mpiexec -np 4 ./hello
    
  2. Using MPI Send and Receive

     $ mpicc -o snd_rcv snd_rcv.c
     $ mpiexec -np 4 ./snd_rcv
    

Contribution Guidelines

  1. Create an issue for an algorithm you would like to implement using OpenMP/MPI.
  2. Create a new branch and start working on your issue.
  3. Commit changes and send a pull request.
You can’t perform that action at this time.