MPI_Init (ierr)
MPI_Finalize (ierr)
MPI_Comm_rank (communicator, my_rank, ierr)
MPI_Comm_size (communicator, nproc, ierr)
MPI_Send (buf, count, datatype, dest, tag, communicator, ierr)
MPI_Recv (buf, count, datatype, source, tag, communicator, status, ierr)
其他有用的 MPI 副程式
MPI_Bcast ( )
MPI_Reduce ( )
MPI_Get_processor_name(nodename,nchar,ierr)