update_system2_job: update_system2_job

Description Usage Arguments Value

View source: R/batchjobs-system2.R

Description

Wrapper around typically batchMap setup

Usage

1
2
3
update_system2_job(reg.name, reg.dir, work.dir, sys.cmd, vec.cmd.args,
  more.cmd.args, seed, cpus = 1, memory = 5000, walltime = 60,
  partition = "fast", env = character(), update = FALSE)

Arguments

reg.name

[string]
Name of registry to load or create.

reg.dir

[string]
Path where files regarding the registry / jobs should be saved.

work.dir

[string]
Working directory for R process when experiment is executed.

sys.cmd

[string]
Name of script to run through system2.

vec.cmd.args

[character] Vector to loop over.

more.cmd.args

[list]
Static arguments, handed to more.args of batchMap.

seed

[int]
Start seed for experiments. The first experiment in the registry will use this seed, for the subsequent ones the seed is incremented by 1.

cpus

[int]
Number of CPUs to use for each job.

memory

[int]
Memory to use for each job in MB. Default is 5000.

walltime

[int]
Maximum runtime for each job in minutes. Default is 59.

partition

[string]
The partition the jobs are sent to.

env

[character]
Directly passed to system2. Character vector of name=value strings to set environment variables.

update

[flag]
TRUE deletes the registry to force re-execution of jobs, default is FALSE, i.e. to load the registry and resume jobs not done.

Value

Nothing, throws an error if not all jobs are finished


imbs-hl/imbs documentation built on Sept. 6, 2019, 11:05 p.m.