Como enviar e receber string usando MPI

Eu estou tentando enviar e receber string usando MPI, mas os resultados são inúteis.

Função de envio:

MPI_Send(&result, result.size(), MPI_CHAR, 0, 0, MPI_COMM_WORLD);

E a função recv:

    MPI_Recv(&result,      /* message buffer */
        128,                 /* one data item */
        MPI_CHAR,        /* of type char real */
        MPI_ANY_SOURCE,    /* receive from any sender */
        MPI_ANY_TAG,       /* any type of message */
        MPI_COMM_WORLD,    /* default communicator */
        &status);          /* info about the received message */

Onde resultado é uma string.

Não recebi nenhum erro, mas o programa não quer terminar.

questionAnswers(2)

yourAnswerToTheQuestion