Skip to content

Remote Clusters

From time to time, github asks for user credentials when trying to download private repos, even if those have been downloaded many times before. Then precompile the package from the REPL on the cluster, entering the credentials by hand. They will then be stored for some time again.

Slurm

Each line in the sbatch file looks like #SBATCH -o value.

Options (indicated by -o) are: * -t 03-00: time in days-hours * -N 1: number of nodes * --mem 24576: memory in megabytes (per cpu)

Status of running jobs:

  • squeue -u
  • squeue --job XXXX
  • sacct --format="JobID,JobName%30,State,ExitCode" (best typed using KeyboardMaestro)

Examining memory and cpu usage

Yale guide

After jobs completed: - seff jobid - sacct with MaxRSS switch shows memory usage.