Objective
Write an MPI-tbb program to compute the value of PI.
Description
Write an MPI-tbb program to compute the value of PI pie function by numerical
integration of a function f(x) = 4/(1+x2) between the limits 0 and 1. You have to use
MPI Collective Communication and Computation Library Calls and TBB PARALLEL For
Directive.
Input
Number of intervals and grain-size for the intelTBB
Output
Pi value calculated, time taken and error of deviation of Pi calculate from actual value
|