#!/bin/bash -l # Set time limit #$ -l h_rt=12:00:00 # Request 8 cores #$ -pe omp 8 # # Join output and error stream #$ -j y # # Name your job #$ -N doMC # # Specify project #$ -P myproject # after we requested 8 slots with omp 8 option, # the variable NSLOTS is set to 8 and we can use this variable # in the script for parallelization # module load R/4.0.2 Rscript domc.R $NSLOTS