Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mpi.comm.free

MPI\_Comm\_free API


Description

mpi.comm.free deallocates a communicator so it points to MPI\_COMM\_NULL.

Usage

mpi.comm.free(comm=1)

Arguments

comm

a communicator number

Details

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.

Value

1 if success. Otherwise 0.

Author(s)

Hao Yu

References

See Also


Rmpi

Interface (Wrapper) to MPI (Message-Passing Interface)

v0.6-9.1
GPL (>= 2)
Authors
Hao Yu [aut]
Initial release
2021-02-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.