By default, Oh My Zsh is used.
- Add ssh congurations to local
~/.ssh/config
- Add port forwarding functions to local
~/.zshrc
- Add zsh scripts to
g2
's ~/.zshrc
- Copy folders to
g2
scp -r bin g2:~/
scp -r lib g2:~/
Command |
Function |
cuda* |
switch cuda version |
g2top |
display gpu/cpu/mem availability |
allo [--cpu $Ncpus] [--gpu $Ngpus] [--mem $Ngb] [--time $Ndays] [--node $nodename] [--p $partition] |
submit new job |
sq |
display your jobs |
wn |
monitor gpu status |
kq |
show running jobs in kilian queue |
torchver |
display pytorch version |
Command |
Function |
g2pt $portnumber |
connect to jupyter notebook via g2 |
cpt [$portnumber] |
clear given port (or all ports by default) |