-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Scott Kirkland edited this page Jul 20, 2021
·
1 revision
Welcome to the cecdss-spatial-analysis wiki!
Running Rscript on slurm example:
#!/bin/bash -l
# setting name of job
#SBATCH --job-name=testR
# setting home directory
#SBATCH -D /home/xyz/testing
# standard out and Standard Error output files with the job number in the name.
#SBATCH -o slurm-dataprep-%j.output
#SBATCH -e slurm-dataprep-%j.output
# setting medium priority
#SBATCH -p med
# setting the max time
#SBATCH -t 0:10:00
# now running the actual script!
# load R
module load R
srun Rscript test.R