Don't initialize mpi if not necessary