MPI_Comm_object
Creates MPI_Comm object.
Syntax
comm = MPI_Comm_object()
comm = MPI_Comm_object(str)
Input argument
str - a string: MPI_COMM_SELF, or MPI_COMM_WORLD.
Description
MPI_Comm_object(h) creates an MPI_Comm object.
Example
CLI required
if ~MPI_Initialized()
MPI_Init();
end
comm = MPI_Comm_object();
MPI_Comm_used
delete(MPI_Comm_used())
MPI_Comm_used
if MPI_Initialized()
MPI_Finalize();
end
See also
MPI_Comm_used, MPI_Comm_delete.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated
Was this helpful?