Question: Write an MPI program in which two processes send packets of information back and forth a number of times and record the amount of time


Write an MPI program in which two processes send packets of information back and forth a number of times and record the amount of time required. The packets of information consist of an array of floating point numbers which vary in length from one floating point number to 10,001 floating point numbers. These packets are sent back and forth from one process to another 100 times. Record the total amount of time that is needed. From this timing data calculate the average amount of time per send/receive and the transfer rate (bandwidth) in bytes/sec
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
