added sense reversing barrier for MPI