Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Example 1:

#!/bin/bash
#SBATCH -c 1
#SBATCH -o %j.out      ## stdout
#SBATCH -e %j.err      ## stderr
#SBATCH -t 0-1         ## 1 hour runtime

module load r-4.3.0-gcc-11.2.0-6t5
R --no-save --quiet < regression.r

Example 2:

#!/bin/bash
#SBATCH -c 1
#SBATCH -o %j.out      ## stdout
#SBATCH -e %j.err      ## stderr
#SBATCH -t 0-1         ## 1 hour runtime

module load r-4.3.0-gcc-11.2.0-6t5
Rscript regression.r 20000

Example: Submitting the job

sbatch job.sh
  • No labels