| blacsexit {pbdBASE} | R Documentation |
Shuts down all BLACS communicators.
base.blacsexit(CONT = TRUE) blacsexit(CONT = TRUE)
CONT |
logical; determines whether or not to shut down all MPI communicators |
If the user wishes to shut down BLACS communicators but still have access to
MPI, then call this function with CONT=TRUE. Calling
blacsexit(CONT=FALSE) will shut down all MPI communicators,
equivalent to calling
> blacsexit(CONT=TRUE) > finalize(mpi.finalize=TRUE)
This function is automatically invoked if BLACS communicators are running
and finalize() is called.
Has an invisible return of 0 when successful.
## Not run: # Save code in a file "demo.r" and run with 2 processors by # > mpiexec -np 2 Rscript demo.r library(pbdBASE, quiet = TRUE) init.grid() blacsexit() finalize() ## End(Not run)