Internal functions used by other MPI functions. These are not intended to be called directly by the user.
mpi.comm.is.null(comm)
string(length)
.docall(fun, args)
.force.type(x, type)
.mpi.undefined()
.mpi.worker.apply(n, tag)
.mpi.worker.applyLB(n)
.mpi.worker.exec(tag, ret, simplify)
.mpi.worker.sim(n, nsim, run)
.simplify(n, answer, simplify, len = 1, recursive = FALSE)
.splitIndices(nx, ncl)
.typeindex(x)Internal helpers; return values vary by function:
mpi.comm.is.null: logical indicator.
string: character string of requested length.
.docall: result of calling fun with args.
.force.type: coerced object of the requested type.
.mpi.undefined: integer constant used by MPI.
.mpi.worker.apply, .mpi.worker.applyLB,
.mpi.worker.exec, .mpi.worker.sim: internal worker
results (typically lists or vectors).
.simplify: simplified result (vector, matrix, or list).
.splitIndices: list of index vectors.
.typeindex: integer type code.
a communicator number.
length of a string.
a function or name of a function.
a list of arguments.
an object.
a type indicator.
number of tasks.
an MPI tag.
logical; whether to return a value.
logical; whether to simplify the result.
number of simulations.
run indicator.
a result list.
expected length.
logical; whether to unlist recursively.
number of elements.
number of clusters.
Hao Yu and Jeffrey Racine
These functions are required for internal MPI communication and slave execution.