MPI_Comm_used

Returns list of current used MPI_Comm handle.

Syntax

  • r = MPI_Comm_used()

Output argument

  • h - a vector of MPI_Comm handle.

Description

Returns list of current used MPI_Comm handle.

See also

MPI_Comm_delete.

Example

CLI required

if ~MPI_Initialized()
  MPI_Init();
end
comm = MPI_Comm_object();
MPI_Comm_used
delete(comm)
MPI_Comm_used
if MPI_Initialized()
  MPI_Finalize();
end

History

Author

Allan CORNET

Last updated