Considere o código abaixo, que utiliza a interface de programação MPI para a linguagem C.
#include <stdio.h>
#include "mpi.h"
int main(){
int rank, value, size;
MPI_Init(NULL, NULL);
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
MPI_Comm_size( MPI_COMM_WORLD, &size );
MPI_Send( &rank, 1, MPI_INT, (rank+1)%size, 0, MPI_COMM_WORLD );
MPI_Recv( &value, 1, MPI_INT, MPI_ANY_SOURCE, 0, MPI_COMM_WORLD,
MPI_STATUS_IGNORE);
printf( "%d %d\n", rank, value );
MPI_Finalize( );
return 0;
}
De acordo com esse código, é correto afirmar que o programa bloqueará