Sale!

ME 766 HW 2 solution

Original price was: $35.00.Current price is: $28.00. $23.80

Category:

Description

5/5 - (1 vote)

1. Create two matrices, A and B, each of size (N × N). Initialise the matrices to random
floating point numbers. Write an OpenMP code for computing C = AB. Report the
times taken for the codes. Vary the size of the problem from N = 100 . . . 10000.
2. Now for the same problem, write an MPI code for computing C = AB. Report the
times taken for the codes. Vary the size of the problem from N = 100 . . . 10000. Vary
the number for MPI process from 2 to 8. Using a single desktop is okay.
3. Write a report of your results obtained. Be sure to specify the configuration of your
machine and OS.
1