Summary

This repository provides example R and SLURM scripts demonstrating several methods for running bootstrap analyses on an HPC cluster. The examples range from basic single-core jobs to parallel and array-based workflows, including automated result combination.


Example Job Types

Job TypeDefinition
simpleA simple R and SLURM script that shows how to run your code on the cluster with no frills.
parallelHow to run the same simple job, but use multiple cores to split up the work.
arraySplit the simple job into a job array, spreading the work across multiple CPUs running in parallel
csvThis example illustrates how to supply different parameters to each task in a SLURM job array by reading them from a CSV file.
workflowAutomate running the array and combine jobs in sequence, ensuring results are merged after all tasks complete