Adds check for MPI being defined before calling getGlobalSumOf(sor)