Write an MPI program that does the following for some arbitrary number of processes:
i
sends the value to process i+1
which multiplies it by i+1
.You can use either blocking or non-blocking operations. Any input read from the user must be validated correctly and exceptions handled. Make sure you have adequate comments and documentation in the code, and you follow good software engineering practices.
Call the program mpi_assignment_2.py
and commit it to the same repository you used for Assignment 3.