User Tools

Site Tools


guides:slurm:using-r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:slurm:using-r [18.11.2021 11:18]
Administrator
guides:slurm:using-r [18.10.2024 14:10] (current)
Administrator
Line 24: Line 24:
 #SBATCH --time 5 # Runtime in minutes. #SBATCH --time 5 # Runtime in minutes.
 #SBATCH --mem=2000 # Reserve 2 GB RAM for the job #SBATCH --mem=2000 # Reserve 2 GB RAM for the job
-#SBATCH --partition serial # Partition to submit+#SBATCH --partition small # Partition to submit
 #SBATCH --output hello.out # Standard out goes to this file #SBATCH --output hello.out # Standard out goes to this file
 #SBATCH --error hello.err # Standard err goes to this file #SBATCH --error hello.err # Standard err goes to this file
Line 30: Line 30:
 #SBATCH --mail-type ALL # ALL will alert you of job beginning, completion, failure etc #SBATCH --mail-type ALL # ALL will alert you of job beginning, completion, failure etc
  
-module load r # load modules+module load r/4.0.0 # load modules
  
 Rscript hello.R # Execute the script Rscript hello.R # Execute the script
guides/slurm/using-r.1637227127.txt.gz · Last modified: 18.11.2021 11:18 by Administrator