Supercomputing Applications

Lab 10 Report Form - MPI Programming #6

Parallel Programming Application 2

Numerical Integration Using the Trapezoidal Rule

Your name: __________________________________, Period: _____, Date __________

What functions are you testing your program with (choose 3) and under what x1 and x2 bounds?

Run your program with increasing numbers of processors and with several values of n, the number of trapezoids. Time the results using time mpirun ... . Print your results:

For n = ?

# of processers Time

1 ?

2 ?

4 ?

8 ?

16 ?

Graph the results with Gnuplot for several different values of n. Do you see any tendencies or patterns?

Integrate each of your functions with calculus theory and print or paste in a comparison of your trapezoidal rule results with the theoretical results.

Paste in or attach your code

2006-02-08T13:15:41