Basic HTML version of Foils prepared 10 Oct 1995

Foil 21 Blocking Send MPI_Send(C) MPI_SEND(Fortran)

From Fox Presentation Fall 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox


call MPI_SEND (
  • IN message start address of data to send
  • IN message_len number of items (length in bytes
    • determined by type)
  • IN datatype type of each data element
  • IN dest_rank Processor number (rank) of destination
  • IN message_tag tag of message to allow receiver to filter
  • IN communicator Communicator of both sender and receiver group
  • OUT error_message) Error Flag (absent in C)
Fortran example:
  • integer count, datatype, dest, tag, comm, mpierr
  • comm= MPI_COMM_WORLD
  • tag=0
  • datatype=MPI_REAL
call MPI_SEND (sndbuf,count,datatype,dest,tag,comm,mpierr)



© on Tue Oct 7 1997