TutorialsTutorials HomeMPI IntroductionIndexBasic Concepts Initialization Data Types Basic Send Basic Receive Broadcast Reduction Example
FullDocument
Related InfoMPI ResourcesIBM DocsProgramming GuideSubroutine Reference |
Basic send
We're ready to do some message passing. We'll start with the most basic
send routine, FortranFORTRAN_TYPE:: buff INTEGER:: count, dest, ierr CALL MPI_SEND(buff, count, MPI_TYPE, dest, tag, comm, ierr) Cint MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) This single command allows the passing of any kind of variable, even a large array, to any group of tasks. We'll break it down into variables:
|
![]() |
Page last modified: Fri, 21 May 2004 22:25:58 GMT Page URL: http://www.nersc.gov/nusers/help/tutorials/mpi/intro/send.php Web contact: webmaster@nersc.gov Computing questions: consult@nersc.gov Privacy and Security Notice |
![]() |