https://github.com/sahilbansal17/parallel-programs
Parallel Programming using OpenMP/MPI
https://github.com/sahilbansal17/parallel-programs
Last synced: 7 months ago
JSON representation
Parallel Programming using OpenMP/MPI
- Host: GitHub
- URL: https://github.com/sahilbansal17/parallel-programs
- Owner: sahilbansal17
- Created: 2019-09-03T14:34:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T18:02:35.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T03:31:17.168Z (9 months ago)
- Language: C++
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel Programming using Open MP / MPI
## Open MP
### Tutorials
[NPTEL Course](https://nptel.ac.in/courses/106/102/106102163/)### Basic Programs
1. [Hello World](Open%20MP/Hello%20World/helloWorld.cpp)$ g++ -fopenmp -o hello helloWorld.cpp
$ ./hello2. [Matrix multiplication](Open%20MP/Matrix%20Multiplication/matrixMultiplication.cpp)
$ g++ -fopenmp -o mul matrixMultiplication.cpp
$ ./mul## MPI
### Installation
1. [MPICH2](https://researchweb.iiit.ac.in/~abu_saad/files/Installing_MPI.pdf)
2. [Open MPI](https://github.com/firemodels/fds/wiki/Installing-Open-MPI-on-a-Linux-Cluster)### Tutorials
[MPI Tutorials](https://mpitutorial.com)### Programs
1. [Hello World](MPI/Hello%20World/mpi_hello_world.c)
$ mpicc -o hello mpi_hello_world.cpp
$ mpiexec -np 4 ./hello2. [Using MPI Send and Receive](MPI/Send%20Receive/snd_rcv.c)
$ 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.