/
Parallelism with R
Parallelism with R
The detectCores
method from the parallel
R library will not work as intended for jobs that request anything less than a full node.
For instance, R
scripts that look like this:
library(parallel)
cluster = makeCluster(detectCores())
Should be replaced with
library(parallel)
cluster = makeCluster(strtoi(system("nproc",intern=TRUE)))
, multiple selections available,
Related content
R Module list of packages
R Module list of packages
Read with this
Parallelism with R
Parallelism with R
More like this
Submitting an R SBATCH Job Script
Submitting an R SBATCH Job Script
More like this
Requesting Resources on Aloe
Requesting Resources on Aloe
More like this
Creating an Interactive RStudio Session
Creating an Interactive RStudio Session
More like this