R/111_control_tp.r

Defines functions SPMD.TP

Documented in SPMD.TP

### TP control.

SPMD.TP <- function(
  bcast = FALSE,
  barrier = TRUE,
  try = TRUE,
  try.silent = FALSE
){
  list(
    bcast = bcast,                   # if bcast object to all ranks at the end
    barrier = barrier,               # if barrier for all ranks at the end
    try = try,                       # if use try in workers
    try.silent = try.silent          # if silent the try message
  )
} # End of SPMD.TP().

Try the pbdMPI package in your browser

Any scripts or data that you put into this service are public.

pbdMPI documentation built on Sept. 10, 2023, 5:06 p.m.