NlmeParallelHost Class
NlmeParallelHost-class.RdThis class defines an NLME parallel host, which can be either local or remote, for running jobs.
Slots
sharedDirectorycharacter. The directory where the run will take place. On Windows, UNC paths are mapped to a drive letter for local execution.installationDirectorycharacter. The directory containing NLME libraries and scripts.hostNamecharacter. A user-friendly name for the host (e.g., "local_mpi").machineNamecharacter. The IP address or hostname of the machine. Defaults to the local system's node name.hostTypecharacter. The operating system of the host, either"windows"or"linux". For remote Linux systems, you can specify a supported distribution (e.g.,"RHEL","UBUNTU") to configure thePML_BIN_DIRenvironment variable.linuxwill be treated as"RHEL".numCoresnumeric. The number of compute cores to be used.isLocallogical.TRUEif the host is local,FALSEif remote.rLocationcharacter. The path to the Rscript executable on a remote host. This is ignored for local runs.scriptPathcharacter. The path to a script to execute on the remote host before Rscript is started. This is ignored for local runs.userAuthenticationNlmeUserAuthentication. An object containing user credentials for remote host authentication. SeeNlmeUserAuthentication().parallelMethodNlmeParallelMethod. The parallel computing method to use (e.g.,"LOCAL_MPI","SGE","TORQUE"). SeeNlmeParallelMethod().
Examples
host <- hostParams(
parallelMethod = "LOCAL_MPI",
hostName = "local_mpi",
numCores = 4
)