Rhpc_worker_noback: Call a function on worker processes without collecting...

View source: R/Rhpc.R

Rhpc_worker_nobackR Documentation

Call a function on worker processes without collecting results

Description

Executes a function on all worker processes without waiting for or collecting results.

Usage

Rhpc_worker_noback(cl, FUN, ...,
                   usequote = ifelse(is.logical(getOption("Rhpc.usequote")),
                                     getOption("Rhpc.usequote"), TRUE))

Arguments

cl

external pointer to MPI communicator

FUN

function or string naming the function to be called on workers

...

arguments to pass to FUN

usequote

logical; if FALSE, quote handling is skipped for performance improvement

Details

This function sends a function call to all worker processes but does not wait for results. It is useful for operations like setting options or initializing worker state where return values are not needed.

Value

Returns invisibly. No results are collected from workers.

See Also

Rhpc_worker_call, Rhpc_Export


Rhpc documentation built on Aug. 4, 2026, 1:07 a.m.