Entering edit mode
When trying to do parallelization on clusters following the example given on the systemPipeR tutorial, section 8, I get an error asking to export Slurm to your PATH:
> library(batchtools)
> resources <- list(walltime=120, ntasks=1, ncpus=4, memory=1024)
> sal <- clusterRun(sal,
+ FUN = runWF,
+ more.args = list(),
+ conffile = ".batchtools.conf.R",
+ template = "batchtools.slurm.tmpl",
+ Njobs = 1,
+ runid = "01",
+ resourceList = resources)
Error in clusterRun(sal, FUN = runWF, more.args = list(), conffile = ".batchtools.conf.R", :
Please export Slurm to your PATH
So, how do I do this? I am using R in Ubuntu 20.04
Thank you!
Yes, I am working on a local machine, so I clearly misunderstood this part of the tutorial then. Thanks a lot for clarifying.