Durganshu / MPI-Ping-Pong

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

 mpic++ ping-pong.cpp -o ping-pong

Run

 mpirun -np 2 ping-pong

About


Languages

Language:C++ 100.0%