Protected functions dependent on mpi