QUAD
A Program to Estimate an Integral


QUAD is intended to be a program that estimates the integral of a function f(x) from A to B, prints the result, the elapsed wallclock time, and the corresponding MegaFLOPS rate.

This directory contains only partial programs - they are just sketches of the code, and you will need to finish them, adding declarations, computational statements, and print statements. Your assignment sheet will explain how you are expected to turn the program into a working OpenMP program.

Source Code:

Completed Source Code:

Here are "completed" versions of the programs.
(Access to these files may be restricted until everyone has had a chance to work on the problems!)

Script for Local Execution:

Batch Script for the FSU HPC Cluster:


You can go up one level to the OpenMP page.

Last revised on 11 October 2011.