LAM/MPI logo

MPI binding for MPI_COMM_DUP

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_COMM_DUP(comm, newcomm)
[ IN comm] communicator (handle)
[ OUT newcomm] copy of comm (handle)


C Binding

int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm)

FORTRAN Binding

MPI_COMM_DUP(COMM, NEWCOMM, IERROR)
INTEGER COMM, NEWCOMM, IERROR

C++ Binding
(in the MPI:: namespace)

Intracomm Intracomm::Dup() const

Intercomm Intercomm::Dup() const

Cartcomm Cartcomm::Dup() const

Graphcomm Graphcomm::Dup() const