Versions Compared

Key

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

...

sbatch -J myjob --mem=64G -t 24:00:00 -o myjob.slurm.log --wrap="Rscript myscript.R"

Sample job scripts

  1. suppose your R script name is test.R

          edit a file named myR.slurm with the following content:         

...

module load lang/R/4.0.3-Python-3.8.5-Anaconda3-2020.11
Rscripts test.R

Then on the terminal run the following:


sbatch myR.slurm

Unable to login or login slow

user did not exit correctly or not exit , so rstudio try to restore the old stuff, so we recommand every time exit rstudio after your job finished

if you can not login or login is slow, please try the following solution

try to find the two folder at your home

~/rstudio

~/.local/share/rstudio

and rename or deleted it and try login again ( you can login in to jupyter.camh.ca or using mobaxterm to do the above).




Info

Content by Label
showLabelsfalse
max5
spacesSCC
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "SCC"
labelskb-how-to-article

...