QUAD is a program which estimates an integral over [0,1].
A typical approach would be to divide the interval [0,1] into P subintervals, and have each process produce an estimate for its subinterval.
This program, instead, takes N evenly spaced values in [0,1], and then assigns them in alternating order to the processes. If there were two processes, then process 0 would be getting all the odd numbered points, and process 1 the evens, for instance.
Before using MPI on the FSU_HPC cluster, you must first set up the appropriate environment. You can do this by typing
source /usr/local/profile.d/openmpi-gnu.sh
Once you have set up the environment, you should compile your program, using one of the following: