Difference between revisions of "Rocky R Prime"
From NIMBioS
Line 15: | Line 15: | ||
=== R parallel script === | === R parallel script === | ||
<pre> | |||
library(foreach) | |||
library(doParallel) | |||
registerDoParallel(40) | |||
</pre> | |||
=== Slurm submission script === | === Slurm submission script === |
Revision as of 19:45, 6 April 2023
Insert example here
Prime Number example code
R serial script
library(foreach) registerDoSeq() library(doParallel) registerDoParallel(40)
R parallel script
library(foreach) library(doParallel) registerDoParallel(40)
Slurm submission script
Code