Start qsub runs

start_qsub(
  run,
  qsub_string,
  rundir,
  host,
  host_rundir,
  host_outdir,
  stdout_log,
  stderr_log,
  job_script,
  qsub_extra = NULL
)

Arguments

run

(numeric) run ID, as an integer

qsub_string

qsub command string, with arguments. Usually from settings$host$qsub

rundir

Local run directory. Usually from settings$rundir

host

Remote host, as a list or character. Usually from settings$host.

host_rundir

Remote host run directory. Usually from settings$host$rundir

host_outdir

Remote host output directory. Usually from settings$host$outdir

stdout_log

Logfile for redirecting stdout.

stderr_log

Logfile for redirecting stderr

job_script

Base name (no path) of script to run. Usually either job.sh or launcher.sh.

qsub_extra

Extra qsub arguments. Usually from settings$host$modellauncher$qsub.extra

Value

Output of qsub command, as a character. This output can be parsed for ascertaining submission success.