Question: Exercise1 MPI Bcast is used to send data form one process to another int MPI_Bcast( void* i In MPI_Datatype i nt MPIComm data_p count datatype

Exercise1 MPI Bcast is used to send data form one process to another int MPI_Bcast( void* i In MPI_Datatype i nt MPIComm data_p count datatype source proc comm /* in/ out */ / in /s in In /s in 0 Write a program that 1. Asks form the user to enter an integer number 2. Reads this value and distributes the value to all of the MPI processes 3. Each process after having received the number, should print the received values along with its rank. 4. The program should be continuous should be read until a negative integer is given as input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
