Learn R Programming

⚠️There's a newer version (0.9.9) of this package.Take me there.

clustermq (version 0.8.95.5)

Evaluate Function Calls on HPC Schedulers (LSF, SGE, SLURM, PBS/Torque)

Description

Evaluate arbitrary function calls using workers on HPC schedulers in single line of code. All processing is done on the network without accessing the file system. Remote schedulers are supported via SSH.

Copy Link

Version

Install

install.packages('clustermq')

Monthly Downloads

1,292

Version

0.8.95.5

License

Apache License (== 2.0) | file LICENSE

Maintainer

Michael Schubert

Last Published

February 19th, 2023

Functions in clustermq (0.8.95.5)

workers

Creates a pool of workers
ZeroMQ

Wrap C++ Rcpp module in R6 to get reliable argument matching
worker

R worker submitted as cluster job
clustermq

Evaluate Function Calls on HPC Schedulers (LSF, SGE, SLURM)
cmq_foreach

clustermq foreach handler
work_chunk

Function to process a chunk of calls
summarize_result

Print a summary of errors and warnings that occurred during processing
QSys

Class for basic queuing system functions
SLURM

SLURM scheduler functions
check_args

Function to check arguments with which Q() is called
vec_lookup

Lookup table for return types to vector NAs
bind_avail

Binds a ZeroMQ socket to an available port in given range
chunk

Subset index chunk for processing
SSH

SSH scheduler functions
register_dopar_cmq

Register clustermq as `foreach` parallel handler
ssh_proxy

SSH proxy for different schedulers
host

Construct the ZeroMQ host address
purrr_lookup

Lookup table for return types to purrr functions
fill_template

Fill a template string with supplied values
master

Master controlling the workers
LOCAL

Placeholder for local processing
LSF

LSF scheduler functions
MULTICORE

Process on multiple cores on one machine
MULTIPROCESS

Process on multiple processes on one machine
Q

Queue function calls on the cluster
.onLoad

Select the queueing system on package loading
.onAttach

Report queueing system on package attach if not set
Q_rows

Queue function calls defined by rows in a data.frame
SGE

SGE scheduler functions