energy calculation under mpi tested