Shodor

a national resource for computational science education

HOME BWPEP Shodor Blue Waters


Area Under a Curve Hybrid MPI and OpenMP
This code sample demonstrates how to use a hybrid of MPI (distributed memory parallelism) and OpenMP (shared memory parallelism) to estimate the area under a curve (integration) using Riemann sums.