Use std::runtime error instead of std::exception.
Reduce the size of the simulation for testing the mpi environment.