1) Implement a sequential program that multiply two squarematrices A and B of dimension 20 x 20. You will initialize thematrix with random integer
2) Compute the wall time using the following code fragment#include clock_t start, end; double cpu_time_used; start = clock();… /* Do the work. */ end = clock(); cpu_time_used = ((double)(end – start)) / CLOCKS_PER_SEC;
3) Implement the MPI program provided athttps://computing.llnl.gov/tutorials/mpi/samples/C/mpi_mm.c Note:You might want to adjust the dimensions of the matrices to 20 x20
4) Use the code fragment below to measure the wall time of theparallel implementation double startwtime = 0.0, endwtime;startwtime = MPI_Wtime(); … /* Do the work.
PayPal Gateway not configured
PayPal Gateway not configured