run_job_interactive: Run job as an interactive R script

Description Usage Arguments

View source: R/slurm_commands.R

Description

Run job as an interactive R script

Usage

1
2
3
4
5
6
7
8
9
run_job_interactive(
  script,
  n_cpus = 4,
  queue = "intq",
  use_mpi = FALSE,
  sync_wait = 60,
  report_freq = 15,
  user_name = NULL
)

Arguments

script

The R script to execute on the cluster. The path to the script should start ~/

n_cpus

The number of cpus requested for the operation

queue

The queue to use for the job. By default this is intq.

use_mpi

Whether to use MPI for running the job (required for multi-node jobs)

sync_wait

The amount of time to wait (in seconds) after job completion for the system to synchronize files between Nuvolos and the high performance computing cluster. Larger files warrant larger wait times.

report_freq

The frequency of polling job information from the cluster (by default and at least 15 seconds)

user_name

Username at the Nuvolos cluster, leave this empty from a Nuvolos application


nuvolos-cloud/r-nuvolos-tools documentation built on Feb. 10, 2021, 6:39 a.m.