Changes between Version 16 and Version 17 of cypress/R


Ignore:
Timestamp:
Aug 16, 2019 2:29:25 PM (2 years ago)
Author:
cbaribault
Comment:

Changed comment in R script to accurately reflect the use of command line argument - vice the SLURM_CPUS_PER_TASK environment variable of previous example.

Legend:

Unmodified
Added
Removed
Modified
  • cypress/R

    v16 v17  
    224224args<-commandArgs(TRUE)
    225225
    226 # use the environment variable SLURM_CPUS_PER_TASK to set the number of cores
     226# use the first command line argument to set the number of cores
    227227registerDoParallel(cores=(as.integer(args[1])))
    228228