mpi.exit | R Documentation |
mpi.exit
terminates MPI execution environment and detaches the
library Rmpi. After that, you can still work on R.
mpi.quit
terminates MPI execution environment and quits R.
mpi.exit()
mpi.quit(save = "no")
save |
the same argument as |
Normally, mpi.finalize
is used to clean all MPI states.
However, it will not detach the library Rmpi. To be more safe leaving MPI,
mpi.exit
not only calls mpi.finalize
but also detaches the
library Rmpi. This will make reload the library Rmpi impossible.
If leaving MPI and R altogether, one simply uses mpi.quit
.
mpi.exit
always returns 1
Hao Yu
mpi.finalize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.