parallel_option: Parallel job requirement

Description Usage Arguments Examples

View source: R/qsub_helpers.R

Description

Generates parallel-job related arguments for "qsub".

Usage

1
2
3
4
parallel_option(env = c("def_slot", "mpi", "mpi-fillup", "mpi_4",
  "mpi_8", "mpi_16", "mpi_24"), slot = 1L, memory = 5.3,
  master_memory = NULL, ljob = FALSE, no_rerun = TRUE,
  special_que = NULL, docker_images = NA_character_)

Arguments

env

A character. Choose one of "def_slot", "mpi", "mpi-fillup", "mpi_4", "mpi_8", "mpi_16", "mpi_24".

slot

An integer. The number of slots. If env is either "mpi" or "mpi-fillup", 2-length integer vector representing minimun and maximun nubmer of slots is also accepted.

memory

A double. Memory requirement(Gb).

master_memory

A double (option). Memory requirement for the master que. If slot is 1 or master_memory is equal to memory, this argument will be ignored.

ljob

A logical. Whether need to run more than 2 days. if you require more than 128Gb in total, this option is automatically set as FALSE.

no_rerun

A logical. Whether allow to run on rerun ques.

special_que

A character (option). Choose one of "cp", "docker", "knl", "gpu", "groupname", "exclusive"(equivalent to groupname). If specified, ljob option will be ignored.

docker_images

A character (option). Valid only if special_que == "docker".

Examples

1
parallel_option(slot = 4L, memory = 10, master_memory = 5, ljob = TRUE)

DrRes/jobwatcher documentation built on Aug. 29, 2019, 5:50 a.m.