====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
slurm_basics [2019/02/11 18:38] xteng |
slurm_basics [2019/02/12 15:06] xteng |
||
---|---|---|---|
Line 83: | Line 83: | ||
#SBATCH --nodes=1 #request one node | #SBATCH --nodes=1 #request one node | ||
- | #SBATCH --cpus-per-task=8 #ask for 8 cpus | + | #SBATCH --cpus-per-task=2 #e .g. ask for 2 cpus |
#SBATCH --time=02:00:00 #ask that the job be allowed to run for 2 hours. | #SBATCH --time=02:00:00 #ask that the job be allowed to run for 2 hours. | ||
- | #SBATCH --error=job.%J.err # tell it to store the output console text to a file | + | #SBATCH --error=/PATH/<NAME>.%J.err # tell it to store the output console text to a file |
- | #SBATCH --output=job.%J.out #tell it to store the error messages to a file | + | #SBATCH --output=/PATH/<NAME>.%J.out #tell it to store the error messages to a file |
module load R #load the most recent version of R available | module load R #load the most recent version of R available |