MPI_Comm_delete

Removes MPI_Comm object.

Syntax

  • MPI_Comm_delete(h)

  • delete(h)

Input argument

  • h - a handle: a MPI_Comm object.

Description

delete(h) deletes MPI_Comm object itself.

Do not forget to clear variable afterward.

Example

CLI required

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

See also

MPI_Comm_used.

History

Author

Allan CORNET

Last updated