In this homework, we modify the given program to use MPI_Send and MPI_Recv instead of MPI_Reduce to collect the partial pi values from the processors and sum them up at processor 0.
We write the performance metrics to txt files, and then compare the performance of our modified program to the original one which uses MPI_Reduce.
utsavns96 / parallel_pi_mpi Goto Github PK
View Code? Open in Web Editor NEWRepo for the programming homework for CS566 - Parallel Processing @ UIC Spring'23