Updated comm to init mpiranks on backends too.