#!/bin/bash -l # Specify SCC project #$ -P krcs # Specify time limit #$ -l h_rt=12:00:00 # Specify the number of tasks #$ -t 1-10 # Combine output and error streams into a single otuput #$ -j y # Job name #$ -N sd # Specify the directory for job logs (it must exist before you submit your job!) #$ -o logs # When we submit many tasks we probably do NOT want to recieve emails #$ -m n # Load appropriate R version module load R/4.3.1 # Run R script Rscript par_tasks_script.R