in-class parallel version of HF v3 openmp2