Reduction operation

Compiling and running on Calhoun using Open MPI

To compile:
   module load intel ompi/intel
   mpif90 -O3 code.f
   mpicc -O3 code.c
   mpicxx -O3 code.cpp

To run:

  Interactive:   mpirun -np 4 -hostfile hfile ./main.x