Sono stati trattati gli argomenti:
BOOST_MPI, Mpi_probe e Mpi_test ( vedi lezioni dello scorso anno ).
E le operazioni RMA (Il codice completo lo trovate in fondo al post )
MPI_Win_create(&receiveb,sizeof(int),sizeof(int),MPI_INFO_NULL,com,&pwin);
MPI_Get(&getb,1,MPI_INT,dest,0,1,MPI_INT,pwin);
MPI_Put(&sendb,1,MPI_INT,dest,0,1,MPI_INT,pwin);
MPI_Win_fence(0,pwin);
MPI_Win_free(&pwin);
BOOST_MPI, Mpi_probe e Mpi_test ( vedi lezioni dello scorso anno ).
E le operazioni RMA (Il codice completo lo trovate in fondo al post )
MPI_Win_create(&receiveb,sizeof(int),sizeof(int),MPI_INFO_NULL,com,&pwin);
MPI_Get(&getb,1,MPI_INT,dest,0,1,MPI_INT,pwin);
MPI_Put(&sendb,1,MPI_INT,dest,0,1,MPI_INT,pwin);
MPI_Win_fence(0,pwin);
MPI_Win_free(&pwin);