Description Usage Arguments Details Value Author(s) References See Also
mpi.comm.disconnect disconnects itself from a communicator and then
deallocates the communicator so it points to MPI\_COMM\_NULL.
1 | mpi.comm.disconnect(comm=1)
|
comm |
a communicator number |
When members associated with a communicator finish jobs or exit, they have to
call mpi.comm.disconnect to release resource if the communicator was
created from an intercommunicator by mpi.intercomm.merge. If
mpi.comm.free is used instead, mpi.finalize called
by slaves may cause undefined impacts on master who wishes to stay.
1 if success. Otherwise 0.
Hao Yu
http://www.lam-mpi.org/, http://www-unix.mcs.anl.gov/mpi/www/www3/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.