MPI\_Comm\_free API
mpi.comm.free
deallocates a communicator so it
points to MPI\_COMM\_NULL.
mpi.comm.free(comm=1)
comm |
a communicator number |
When members associated with a communicator finish jobs or exit, they have to
call mpi.comm.free
to release resource so mpi.comm.size
will return 0. If the comm was created from an intercommunicator by
mpi.intercomm.merge
, use mpi.comm.disconnect
instead.
1 if success. Otherwise 0.
Hao Yu
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.