Part 1: Distributed Memory Systems: Q1: Write an MPI program that calculates the integration of the following function
Posted: Sat May 14, 2022 2:50 pm
Part 1: Distributed Memory Systems:
Q1:
Write an MPI program that calculates the integration of the following function
F(x) = 3x2 - 3 x + 3
For the interval 0 to 10. Each processor will be assigned part of the interval to calculate its integration. Each processor will reduce the interval size progressively until the difference between the successive area of the interval is smaller than a certain threshold (0.001).
Use Standard rectangular decomposition of the area to calculate the integration. Time your execution for different number of processors (2-8).
Report your findings.
Q1:
Write an MPI program that calculates the integration of the following function
F(x) = 3x2 - 3 x + 3
For the interval 0 to 10. Each processor will be assigned part of the interval to calculate its integration. Each processor will reduce the interval size progressively until the difference between the successive area of the interval is smaller than a certain threshold (0.001).
Use Standard rectangular decomposition of the area to calculate the integration. Time your execution for different number of processors (2-8).
Report your findings.