#!/bin/bash

#SBATCH --ntasks=1                                 # 1 task
#SBATCH --cpus-per-task=4                        # 4 threads
#SBATCH --time=30                                  # 30 minutes wall time
#SBATCH --mem=20G                                 # 20 GB of RAM reserved per node (all cores on one node, so 20 GB reserved total)
#SBATCH --output=out.%j                            # stdout goes to a file called "out.<jobid>"
#SBATCH --error=err.%j                             # stderr goes to a file called "err.<jobid>"

module load R/4.3.0
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
Rscript R-benchmark-25.R
