Tips for the cluster
Expanding upon the coding tips page provided by Lucas Estrada.
If a user’s name was John Harvard:
unix/ bash
rsync: move files from local drive to remotefind . -exec touch {} \;: touch all files within a directoryscp source_filepath/filename jharvard@login.rc.fas.harvard.edu:destination:filepath: from your local machine, moves a file onto the cluster. Use the recursive flag to move multiple files, reverse the order of the arguments to move files from the cluster to your home machine.
slurm
salloc: starts an interactive jobsshare: prints fairshare score
slurm flags
-pcontrols partition (eg. huce_cascade, huce_intel)-ccontrols cpus per task-mminimum memory per core-dcontrols dependencies-rmakes the argument recursive