Outputting mpi rank and subdomain id