MPI: Difference between revisions

632 bytes added ,  7 years ago
Line 328: Line 328:
     MPI_Comm comm            /* communicator */
     MPI_Comm comm            /* communicator */
  );
  );
</source>
</tab>
<tab name="Boost (C++)">
<source lang="cpp">
template<typename T> void mpi::communicator::send(
  int dest,                  /* rank of process to receive message */
  int tag,                          /* programmer specified identified */
  const T & value              /* message */
) const;
</source>
</source>
</tab>
</tab>
Line 356: Line 365:
     MPI_Status *status      /* stores info. about received message */
     MPI_Status *status      /* stores info. about received message */
  );
  );
</source>
</tab>
<tab name="Boost (C++)">
<source lang="cpp">
template<typename T> void mpi::communicator::send(
  int source,                  /* rank of process from which to receive */
  int tag,                          /* programmer specified identified */
  const T & value              /* message */
) const;
</source>
</source>
</tab>
</tab>
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits