https://github.com/durganshu/mpi-ping-pong
https://github.com/durganshu/mpi-ping-pong
cpp mpi
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/durganshu/mpi-ping-pong
- Owner: Durganshu
- Created: 2023-07-19T10:40:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T11:13:14.000Z (almost 3 years ago)
- Last Synced: 2025-02-26T19:53:20.663Z (over 1 year ago)
- Topics: cpp, mpi
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MPI Ping-Pong
This code sends a message from node A to node B and back (a so called ping-pong) using the blocking send and receive constructs.
## Compile
```shell
mpic++ ping-pong.cpp -o ping-pong
```
## Run
```shell
mpirun -np 2 ping-pong
```