Question: 1 . Write C program and parallelize it using OpenMP that compute the estimation of pi as described in lecture 1 1 . Time the
Write C program and parallelize it using OpenMP that compute the estimation of pi as
described in lecture Time the parallel code and run it using threads and
report execution time, and speedup TserialTparallel and efficiency
speedup#threads.
Answer to the following questions:
a Tell what machine you ran this on
b Create a table with your speed up results.
c Draw a graph of the speedup. The X axis will be the number of threads.
The Y axis will be the speedup.
d What patterns are you seeing in the speeds and why do you think it is
behaving this way?
e Create a table with your efficiency results.
f Draw a graph of the efficiency. The X axis will be the number of
threads. The Y axis will be the efficiency.
g What patterns are you seeing in efficiency and why do you think it is
behaving this way?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
