Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
#!/bin/bash -l

#SBATCH --nodes 1 
#SBATCH --ntasks 1 
#SBATCH --cpus-per-task 1
#SBATCH --mem 60000
#SBATCH --time 00:05:00
 
echo STARTING AT `date`

module purge 
module load intel intel-mkl
module load Rr
srun R CMD BATCH ./rscript.R
 
echo FINISHED at `date`

...

Code Block
languagebash
module load intel intel-mkl
module load Rr curl spark

Then, you can launch R and do the following

...