Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.profile used on Machine Learning Cluster
GNU nano 2.5.3 File: /shared/users/thomasaar/.profile
PS1='$(pwd): '
echo 'Hello Thomas - edit PATH using "profile"'
echo "YOU ARE NOT IN HOME - YOU ARE ON SHARED"
# This is a comment
echo 'Enabling environment for pyprismatic'
export CPLUS_INCLUDE_PATH=/usr/local/cuda-10.0/include:$CPLUS_INCLUDE_PATH
export LD_LIBRARY_PATH=$HOME/fftw_gcc5_build/lib64:/usr/local/cuda-10.0/lib64:$HOME/prismatic_gcc5/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$HOME/fftw_gcc5_build/lib64:/usr/local/cuda-10.0/lib64:$HOME/prismatic_gcc5/lib:$LIBRARY_PATH
alias ls="ls --color"
alias q="squeue -u thomasaar -o '%.18i %.20j %.8T %.20R %.11M %.6D %q %.9P %.19S %L'"
alias cd..='cd ../' # Go back 1 directory level (for fast typers)
alias cd...='cd ../../'
alias ..='cd ../' # Go back 1 directory level
alias ...='cd ../../' # Go back 2 directory levels
alias .3='cd ../../../' # Go back 3 directory levels
alias .4='cd ../../../../' # Go back 4 directory levels
alias .5='cd ../../../../../' # Go back 5 directory levels
alias .6='cd ../../../../../../' # Go back 6 directory levels
alias n='nvidia-smi'
alias shared='cd /shared/users/thomasaar'
export PATH=$HOME/prismatic_gcc5/bin:$PATH
alias python="python3"
alias py="python3"
alias profile="nano /shared/users/thomasaar/.profile"
shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.