Collective barrier

Compiling and Running on the 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