Blocking Receive: MPI_RECV(Fortran)
call MPI_RECV(
- IN start_of_buffer Address of place to store data(address is Input -- values of data are of course output starting at this address!)
- IN buffer_len Maximum number of items allowed
- IN datatype Type of each data type
- IN source_rank Processor number (rank) of source
- IN tag only accept messages with this tag value
- IN communicator Communicator of both sender and receiver group
- OUT return_status Data structure describing what happened!
- OUT error_message) Error Flag (absent in C)
Note that return_status is used after completion of receive to find actual received length (buffer_len is a maximum length allowed), actual source processor source_ rank and actual message tag