Difference between revisions of "Rocky R Prime"
From NIMBioS
(Example for Running R Scripts on Rocky) |
|||
Line 4: | Line 4: | ||
=== R serial script === | === R serial script === | ||
<pre> | |||
library(foreach) | |||
registerDoSeq() | |||
library(doParallel) | |||
registerDoParallel(40) | |||
</pre> | |||
=== R parallel script === | === R parallel 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
Code
Slurm submission script
Code