Module Rpc_parallel.How_to_run
val local : t
A local worker needs no special information. Rpc_parallel runs the same executable that the master is using.
val remote : _ Remote_executable.t -> t
In order to run a worker remotely, you must ensure that the executable is available on the remote host.
val wrap : t -> f:(Prog_and_args.t -> Prog_and_args.t) -> t
wrap
allows you to customize how the executable is launched. For example, you can run the worker via some wrapper command.
val run : t -> env:(string * string) list -> worker_command_args:string list -> Async.Process.t Core.Or_error.t Async.Deferred.t