Hybrid OpenMP/MPI parallel version of AA.