Package: future.batchtools 0.32.0

Henrik Bengtsson

future.batchtools: Parallel Future Backend for HPC Schedulers using 'batchtools'

Implementation of the Future API <doi:10.32614/RJ-2021-048> on top of the 'batchtools' package. The backend is fully compliant with the Future API, as validated by the 'future.tests' conformance test suite, meaning that code using futures gives identical results and behaves the same regardless of which future backend is used. Futures are resolved on the local machine, on an ad-hoc cluster of machines, or via job schedulers on high-performance compute ('HPC') clusters, such as 'Slurm', 'SGE', 'LSF', 'OpenLava', and 'TORQUE' / 'PBS'. A common use is to parallelize existing map-reduce calls via the 'futurize' package <doi:10.48550/arXiv.2601.17578>, e.g. 'plan(future.batchtools::batchtools_slurm)' followed by 'lapply(xs, fcn) |> futurize()' or 'purrr::map(xs, fcn) |> futurize()'.

Authors:Henrik Bengtsson [aut, cre, cph], Michel Lang [ctb, cph], Bernd Bischl [ctb, cph]

future.batchtools_0.32.0.tar.gz
future.batchtools_0.32.0.zip(r-4.7-any)future.batchtools_0.32.0.zip(r-4.6-any)
future.batchtools_0.32.0.tar.gz(r-4.7-any)future.batchtools_0.32.0.tar.gz(r-4.6-any)
future.batchtools_0.32.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
future.batchtools/json (API)

# Install 'future.batchtools' in R:
install.packages('future.batchtools', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/futureverse/future.batchtools/issues

Pkgdown/docs site:https://future.batchtools.futureverse.org

On CRAN:

Conda:

4.01 score 412 scripts 3.1k downloads 2 mentions 34 exports 27 dependencies

Last updated from:f525b59acf. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK227
source / vignettesOK174
linux-releaseOK275
windows-develOK179
windows-releaseOK267
wasm-releaseOK98

Exports:%resources%batchtools_bashbatchtools_custombatchtools_interactivebatchtools_localbatchtools_lsfbatchtools_multicorebatchtools_openlavabatchtools_sgebatchtools_slurmbatchtools_sshbatchtools_torqueBatchtoolsBashFutureBackendBatchtoolsCustomFutureBackendBatchtoolsFutureBackendBatchtoolsFutureErrorBatchtoolsInteractiveFutureBackendBatchtoolsLocalFutureBackendBatchtoolsLsfFutureBackendBatchtoolsMulticoreFutureBackendBatchtoolsMultiprocessFutureBackendBatchtoolsOpenLavaFutureBackendBatchtoolsSGEFutureBackendBatchtoolsSlurmFutureBackendBatchtoolsSSHFutureBackendBatchtoolsTemplateFutureBackendBatchtoolsTorqueFutureBackendBatchtoolsUniprocessFutureBackendfind_template_fileloggedErrorloggedOutputmakeClusterFunctionsBashmakeClusterFunctionsSlurm2render_template

Dependencies:backportsbase64urlbatchtoolsbrewcheckmateclicodetoolscrayondata.tabledigestfsfutureglobalsgluehmslifecyclelistenvparallellypkgconfigprettyunitsprogressR6rappdirsrlangstringivctrswithr

Readme and manuals

Help Manual

Help pageTopics
A batchtools Bash backend that resolves futures sequentially via a Bash template scriptbatchtools_bash makeClusterFunctionsBash
A batchtools backend that resolves futures sequentially in the current R sessionbatchtools_interactive
A batchtools backend that resolves futures sequentially in transient background R sessionsbatchtools_local
A batchtools LSF backend resolves futures in parallel via a Load Sharing Facility (LSF) job schedulerbatchtools_lsf
A batchtools backend that resolves futures in parallel via forked background R processesbatchtools_multicore
A batchtools OpenLava backend resolves futures in parallel via an OpenLava job schedulerbatchtools_openlava
A batchtools SGE backend resolves futures in parallel via a Sun/Son of/Oracle/Univa/Altair Grid Engine job schedulerbatchtools_sge
A batchtools Slurm backend resolves futures in parallel via a Slurm job schedulerbatchtools_slurm
A batchtools TORQUE backend resolves futures in parallel via a TORQUE/PBS job schedulerbatchtools_torque
Locate a batchtools job-script template filefind_template_file
future.batchtools: A Future for batchtoolsfuture.batchtools-package future.batchtools
ClusterFunctions for Slurm Systems (patched)makeClusterFunctionsSlurm2
Render a batchtools job script without submitting itrender_template
Options used for batchtools futuresfuture.batchtools.delete future.batchtools.expiration.tail future.batchtools.options future.batchtools.output future.batchtools.relay.immediate future.batchtools.script.validate future.batchtools.workers R_FUTURE_BATCHTOOLS_DELETE R_FUTURE_BATCHTOOLS_EXPIRATION_TAIL R_FUTURE_BATCHTOOLS_OUTPUT R_FUTURE_BATCHTOOLS_RELAY_IMMEDIATE R_FUTURE_BATCHTOOLS_SCRIPT_VALIDATE R_FUTURE_BATCHTOOLS_WORKERS R_FUTURE_CACHE_PATH zzz-future.batchtools.options