<< MPI_Bcast Message Passing Interface MPI_Comm_get_name >>

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


Version Description
1.0.0 initial version

Author


Allan CORNET

<< MPI_Bcast Message Passing Interface MPI_Comm_get_name >>