Initialize for NlmeParallelHost

hostParams(
  sharedDirectory = getwd(),
  installationDirectory = Sys.getenv("INSTALLDIR"),
  licenseFile = "",
  hostName = Sys.info()[["nodename"]],
  machineName = "127.0.0.1",
  hostType = Sys.info()[["sysname"]],
  numCores = 4,
  parallelMethod = "LOCAL_MPI",
  userName = "",
  privateKeyFile = NULL,
  userPassword = NULL,
  scriptPath = "",
  rLocation = "",
  isLocal = TRUE
)

Arguments

sharedDirectory

Directory in which the run happens. Current directory by default

installationDirectory

Directory containing NLME libraries/scripts

licenseFile

Path to the license file. If not given, and Gemalto License server is not active, NLME will try to look for it in installationDirectory and in Phoenix installation directory.

hostName

Visual name of the host (default A name by which the machine is known on the network)

machineName

IP address or name of the host(default 127.0.0.1)

hostType

String; Windows|Linux. Current OS by default.

numCores

Integer; Number of compute cores. 4 by default

parallelMethod

String; Options are: None|Multicore|LOCAL_MPI|SGE|SGE_MPI| TORQUE|TORQUE_MPI|LSF|LSF_MPI|SLURM_SLURM_MPI.

userName

String; How the user is identified to the remote system

privateKeyFile

Path to private key file, see ssh::ssh_connect() for details

userPassword

Either a string or a callback function for password prompt, see ssh::ssh_connect() for details

scriptPath

a path to the script to be executed before starting Rscript within Certara.NLME8 package on the remote host. Ignored when running locally.

rLocation

Path to Rscript executable on remote host; ignored on local host

isLocal

Is this a local TRUE or remote FALSE host?

Value

NlmeParallelHost class instance

Examples

host <- hostParams(sharedDirectory = getwd(),
                   parallelMethod = "LOCAL_MPI",
                   hostName = "Local",
                   numCores = 4)