bashrc 787 B

12345678910111213141516171819202122
  1. RAP=/rap/jvb-000-aa/COURS2019/etudiants/$USER
  2. mkdir -p $RAP
  3. module --force purge
  4. # make singularity 3 available
  5. PATH=$PATH:/opt/software/singularity-3.0/bin/
  6. # make a shortcut to create an interactive session
  7. alias mdebug="msub -N debug -A colosse-users -l advres=MILA2019,feature=k80,nodes=1:gpus=1,walltime=15:00 -I -qtest"
  8. alias fast_msub="msub -A colosse-users -l advres=MILA2019,feature=k80,nodes=1:gpus=1"
  9. export SINGULARITY_ARGS="--nv --bind $RAP,$HOME /rap/jvb-000-aa/COURS2019/etudiants/ift6759.simg"
  10. alias s_shell="singularity shell $SINGULARITY_ARGS"
  11. alias s_exec="singularity exec $SINGULARITY_ARGS"
  12. alias show_err="watch tail -n 20 $(ls -rt | grep .err | tail -n 1)"
  13. alias show_out="watch tail -n 20 $(ls -rt | grep .out | tail -n 1)"
  14. alias rm_logs="rm *.out *.err"