submitRemote: Submit Job to HPC (Remotely Stored Project)

Description Usage Arguments Details Value

View source: R/submit_remote.R

Description

Submit Job to HPC where project files are already stored on the file server.

Usage

1
2
3
submitRemote(credentials, remote.folder, script.file, submission.file, data,
  quiet = FALSE, host = "lyra.qut.edu.au", port = 22,
  ignore.warning = FALSE)

Arguments

credentials

Vector of username and password (<Username>, <Password>). REQUIRED

remote.folder

Root directory for the project stored on the remote file server.REQUIRED

script.file

R file to be called. REQUIRED

submission.file

ADD SOON

data

ADD SOON. REQUIRED

quiet

Turns on quiet mode, disabling all messages except warnings and errors (default: FALSE)

host

Host name for the remote server (default: lyra.qut.edu.au)

port

Port number to be used for SSH and SCP to the host (defualt: 22)

ignore.warning

Suppress warning messages (default: FALSE)

Details

Keep in mind that four parameters, credentials, remote.folder, script.file, and data are required.The remote fileserver must contain the directory remote.folder and script.file must be found in the top level of remote.folder.

Before attempting to submit the job the credentials and existence of remote.folder and script.file are checked. An error is given if any fail.

data must be either a data.frame or a data.table which have the column names:

In addition to these columns are any arguments to be passed to the user script in the form <col_name>=<value>.

Value

A structure (dataframe or datatable, matches the structure of data) which contains the details of every submission. Each row of structure contains all the job details (job name, memory, wall time, ncpus, jobid) as well as the arguments submitted (both user defined and provided).

The structure is also saved as a .rds file as well as parsed into a DSV file (space-delimited). These files are saved to the remote.folder.


A-Simmons/RemoteLyraR documentation built on May 5, 2019, 11:27 a.m.