client send resources with MPI, server receive it