Skip to content

Commit ea8d3bd

Browse files
Add explicit resources = list() argument to all HPC batchtools_nnn() backends
1 parent eb5098a commit ea8d3bd

11 files changed

+46
-11
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future.batchtools
2-
Version: 0.12.2-9933
2+
Version: 0.12.2-9934
33
Depends:
44
R (>= 3.2.0),
55
parallelly,

R/batchtools_lsf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BatchtoolsLsfFutureBackend <- function(...) {
4848
#' * <https://en.wikipedia.org/wiki/IBM_Spectrum_LSF>
4949
#'
5050
#' @export
51-
batchtools_lsf <- function(..., template = "lsf", scheduler.latency = 1.0, fs.latency = 65.0) {
51+
batchtools_lsf <- function(..., template = "lsf", scheduler.latency = 1.0, fs.latency = 65.0, resources = list()) {
5252
stop("INTERNAL ERROR: The future.batchtools::batchtools_lsf() must never be called directly")
5353
}
5454
class(batchtools_lsf) <- c(

R/batchtools_openlava.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BatchtoolsOpenLavaFutureBackend <- function(...) {
4848
#' * <https://en.wikipedia.org/wiki/OpenLava>
4949
#'
5050
#' @export
51-
batchtools_openlava <- function(..., template = "openlava", scheduler.latency = 1.0, fs.latency = 65.0) {
51+
batchtools_openlava <- function(..., template = "openlava", scheduler.latency = 1.0, fs.latency = 65.0, resources = list()) {
5252
stop("INTERNAL ERROR: The future.batchtools::batchtools_openlava() must never be called directly")
5353
}
5454
class(batchtools_openlava) <- c(

R/batchtools_sge.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ BatchtoolsSGEFutureBackend <- function(...) {
4747
#' * <https://en.wikipedia.org/wiki/Oracle_Grid_Engine>
4848
#'
4949
#' @export
50-
batchtools_sge <- function(..., template = "sge", scheduler.latency = 1.0, fs.latency = 65.0) {
50+
batchtools_sge <- function(..., template = "sge", scheduler.latency = 1.0, fs.latency = 65.0, resources = list()) {
5151
stop("INTERNAL ERROR: The future.batchtools::batchtools_sge() must never be called directly")
5252
}
5353
class(batchtools_sge) <- c(

R/batchtools_slurm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BatchtoolsSlurmFutureBackend <- function(...) {
4848
#' * <https://en.wikipedia.org/wiki/Slurm_Workload_Manager>
4949
#'
5050
#' @export
51-
batchtools_slurm <- function(..., template = "slurm", scheduler.latency = 1.0, fs.latency = 65.0) {
51+
batchtools_slurm <- function(..., template = "slurm", scheduler.latency = 1.0, fs.latency = 65.0, resources = list()) {
5252
stop("INTERNAL ERROR: The future.batchtools::batchtools_slurm() must never be called directly")
5353
}
5454
class(batchtools_slurm) <- c(

R/batchtools_torque.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ BatchtoolsTorqueFutureBackend <- function(...) {
4747
#' * <https://en.wikipedia.org/wiki/TORQUE>
4848
#'
4949
#' @export
50-
batchtools_torque <- function(..., template = "torque", scheduler.latency = 1.0, fs.latency = 65.0) {
50+
batchtools_torque <- function(..., template = "torque", scheduler.latency = 1.0, fs.latency = 65.0, resources = list()) {
5151
stop("INTERNAL ERROR: The future.batchtools::batchtools_torque() must never be called directly")
5252
}
5353
class(batchtools_torque) <- c(

man/batchtools_lsf.Rd

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_openlava.Rd

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_sge.Rd

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_slurm.Rd

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)