Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This page is a work in progress, but please note that the detectCores method from the parallel 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)))

  • No labels