bash.rc 620 B

12345678910111213141516
  1. module --force purge
  2. # make singularity 3 available
  3. PATH=$PATH:/opt/software/singularity-3.0/bin/
  4. # make a shortcut to create an interactive session
  5. alias mdebug="msub -N skynet_1 -A jvb-000-ag -l nodes=1:gpus=1,walltime=01:00:00 -I -qtest"
  6. export SINGULARITY_ARGS="--nv --bind $RAP,$HOME,$SCRATCH /rap/jvb-000-aa/singularityimages/pytorch.simg"
  7. alias s_shell="singularity shell $SINGULARITY_ARGS"
  8. alias s_exec="singularity exec $SINGULARITY_ARGS"
  9. alias show_err="watch tail -n 20 $(ls -rt | grep .err | tail -n 1)"
  10. alias show_out="watch tail -n 20 $(ls -rt | grep .out | tail -n 1)"
  11. alias rm_logs="rm *.out *.err"