Skip to content

Helpful alias commands

Samuel Jenness edited this page Jul 17, 2018 · 4 revisions

You can consider adding these commands to your .bashrc or .bash_profile file.

This loads the spack environment on Ikt:

alias lspack='. /suppscr/csde/sjenness/spack/share/spack/setup-env.sh'

This starts up a build node (to install packages):

alias build='srun -p build --time=3:00:00 --mem=20G --pty /bin/bash'

This starts up an interactive session on a node (to demo scripts):

alias shell='srun -N 1 -p csde -A csde  --time=24:00:00 --mem=50G --pty /bin/bash'

Check what is running in your queue:

alias myq='squeue -u <userid>'