Difference between revisions of "Rocky R Prime"

From NIMBioS
Line 15: Line 15:


=== R parallel script ===
=== R parallel script ===
Code
<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

Running the Prime Number example

Uploading the code

Submitting the script

Looking at the results