Like in the "older" communication functions caf_get_by_ref should use an MPI-Datatype for transferring data.