pbs_default: Creates a default pbs script as a vector of strings....

View source: R/preload.r

pbs_defaultR Documentation

Creates a default pbs script as a vector of strings. Modification for platform-specific parameters should be done with a function via the FUN parameter of the launch() function rather than rewriting pbs_default().

Description

Creates a default pbs script as a vector of strings. Modification for platform-specific parameters should be done with a function via the FUN parameter of the launch() function rather than rewriting pbs_default().

Usage

pbs_default(nodes = 1, npernode = 16, modules = "r",
  walltime = "01:00:00", account, warn_on_fork = TRUE, fn = NULL,
  rwd = "~/")

Arguments

nodes

Number of nodes to use for the server

npernode

Number of R instances to run per node

modules

A vector of strings giving the modules to load before starting the server.

walltime

A string "hh:mm:ss" giving the maximum length of time in hours:minutes:seconds before server timeout shutdown. Note that while the server is running you may be incurring time charges to your account.

account

Account used for your cluster allocation

warn_on_fork

Set to FALSE to suppress a warning when forking a process (for example, when invoking parallel::mclapply()).

fn

A list providing names used for script files that are created in the server rwd directory.

rwd

Working directory on server. This is where script files are created.

Value

A shell script as a vector of strings.


RBigData/launchr documentation built on April 28, 2022, 10:33 a.m.