mpi.finalize: MPI_Finalize API

View source: R/Rmpi.R

mpi.finalizeR Documentation

MPI_Finalize API

Description

Terminates MPI execution environment.

Usage

  mpi.finalize()

Arguments

None

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.

Value

Always return 1

Author(s)

Hao Yu

References

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

See Also

mpi.exit


Rmpi documentation built on April 1, 2023, 12:20 a.m.

Related to mpi.finalize in Rmpi...