Scripted HTML version of Foils prepared 11 November 1996

Foil 4 Fortran example:Blocking Receive MPI_RECV

From CPS615-Completion of MPI foilset and Application to Jacobi Iteration in 2D Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 7 November 96. by Geoffrey C. Fox *
Secs 171.3
integer status(MPI_STATUS_SIZE) An array to store status
integer mpierr, count, datatype, source, tag, comm
integer recvbuf(100)
count=100
datatype=MPI_REAL
comm=MPI_COMM_WORLD
source=MPI_ANY_SOURCE accept any source processor
tag=MPI_ANY_TAG accept anmy message tag
call MPI_RECV (recvbuf,count,datatype,source,tag,comm,status,mpierr)
Note source and tag can be wild-carded



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997