Learn R Programming

Rmpi (version 0.7-2.1)

mpi.finalize: MPI_Finalize API

Description

Terminates MPI execution environment.

Usage

mpi.finalize()

Value

Always return 1

Arguments

None

Author

Hao Yu

Details

This routines must be called by each slave (master) before it exits. This call cleans all MPI state. Once mpi.finalize has been called, no MPI routine may be called. To be more safe leaving MPI, please use mpi.exit which not only calls mpi.finalize but also detaches the library Rmpi. This will make reload the library Rmpi impossible.

References

https://www.open-mpi.org/

See Also

mpi.exit