Remove code genr of xdim* for gen_mpi