R Under development (unstable) (2025-06-05 r88281 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source("incl/start.R") Loading required package: parallelly Loading required package: future > > ## Setup all strategies including custom once for testing on HPC environments > print(all_strategies()) [1] "sequential" "multisession" "cluster" > > message("All HPC strategies:") All HPC strategies: > > strategies <- c("batchtools_lsf", "batchtools_openlava", "batchtools_sge", + "batchtools_slurm", "batchtools_torque") > mprint(strategies, debug = TRUE) [04:37:15.088] [1] "batchtools_lsf" "batchtools_openlava" "batchtools_sge" [04:37:15.088] [4] "batchtools_slurm" "batchtools_torque" > > message("Supported HPC strategies:") Supported HPC strategies: > strategies <- strategies[sapply(strategies, FUN = test_strategy)] > mprint(strategies, debug = TRUE) [04:37:15.093] character(0) > > for (strategy in strategies) { + plan(strategy) + print(plan()) + + f <- future(42L) + print(f) + v <- value(f) + print(v) + stopifnot(v == 42L) + + x %<-% Sys.info() + print(x) + + message(sprintf("*** %s() ... DONE", strategy)) + } > > source("incl/end.R") > > proc.time() user system elapsed 0.73 0.28 1.00