export GIT=${HOME}/git # scratch export SCRATCH=/scratch/rmoodie export SCRATCH_LOCAL=/scratch/rmoodie/local #export PATH=$SCRATCH_LOCAL/bin:$PATH #export LD_LIBRARY_PATH=$SCRATCH_LOCAL/lib:$LD_LIBRARY_PATH # https://stackoverflow.com/questions/2257854/module-command-not-found source /etc/profile.d/modules.sh # GCC 8 source /opt/rh/devtoolset-8/enable # other libraries e.g. GLIBCXX_3.4.20 #export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64:/usr/lib64 # Go export GOPATH=$HOME/go export PATH=$GOPATH/bin:$HOME/bin/go/bin:$PATH # Locals export LOCAL=$HOME/local export LD_LIBRARY_PATH=$VC_LOCAL/lib:$LD_LIBRARY_PATH # QD export QD_LOCAL=$HOME/local/qd export LD_LIBRARY_PATH=$QD_LOCAL/lib:$LD_LIBRARY_PATH export PATH=$QD_LOCAL/bin:$PATH export PKG_CONFIG_PATH=$QD_LOCAL/pkgconfig:$PKG_CONFIG_PATH # NJet export NJET_LOCAL=$SCRATCH_LOCAL/njet export PATH=$NJET_LOCAL/bin:$PATH export LD_LIBRARY_PATH=$NJET_LOCAL/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=$NJET_LOCAL/lib/pkgconfig:$PKG_CONFIG_PATH # PentagonFunctions export PENTA_LOCAL=$HOME/local/pentagon export LD_LIBRARY_PATH=$PENTA_LOCAL/lib64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$PENTA_LOCAL/lib64:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=$PENTA_LOCAL/pkgconfig:$PKG_CONFIG_PATH # Vc export VC_LOCAL=$LOCAL # OpenMPI module load mpi/openmpi-x86_64 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64:/usr/lib64 # HepSW export hepsw=/mt/hepsw/el7/x86_64 # Sherpa export SherpaVersion=2.2.8 source ${hepsw}/Sherpa-${SherpaVersion}/Sherpaenv.sh source ${hepsw}/Sherpa-${SherpaVersion}/Sherpadependencies.sh # Rivet export rivetVersion=2.7.2 source ${hepsw}/rivet-${rivetVersion}/rivetenv.sh ## deps handled manually below source ${hepsw}/rivet-${rivetVersion}/rivetdependencies.sh # YODA export YODAVersion=1.7.7 source ${hepsw}/YODA-${YODAVersion}/YODAenv.sh ## no deps source ${hepsw}/YODA-${YODAVersion}/YODAdependencies.sh ## HepMC2 #export HepMC2Version=2.06.10 #source /mt/hepsw/el7/x86_64/HepMC2-${HepMC2Version}/HepMC2env.sh ### no deps #source /mt/hepsw/el7/x86_64/HepMC2-${HepMC2Version}/HepMC2dependencies.sh # ## FastJet #export FastJetVersion=3.3.3_python2 #source /mt/hepsw/el7/x86_64/FastJet-${FastJetVersion}/FastJetenv.sh ### no deps #source /mt/hepsw/el7/x86_64/FastJet-${FastJetVersion}/FastJetdependencies.sh # FORM #export FORM_LOCAL=$LOCAL/form #export PATH=$FORM_LOCAL/bin:$PATH export FORMVersion=4.2.1 source ${hepsw}/gcc8/FORM-${FORMVersion}/FORMenv.sh source ${hepsw}/gcc8/FORM-${FORMVersion}/FORMdependencies.sh # eigen export EIGEN_LOCAL=$LOCAL/eigen export PKG_CONFIG_PATH=$EIGEN_LOCAL/share/pkgconfig:$PKG_CONFIG_PATH # cmake export PATH=~/programs/cmake-3.16.1-Linux-x86_64/bin:$PATH # local bin (python, meson) export PATH=/mt/home/rmoodie/.local/bin:${PATH} # Git export LOCAL_GIT=${LOCAL}/git export PATH=${LOCAL_GIT}/bin:${PATH} # batch aliases alias qi='squeue -u rmoodie -i 1 -o "%.18i %.9P %.24j %.8u %.2t %.10M %.6D %R"' alias q='squeue -u rmoodie -o "%.18i %.9P %.24j %.8u %.2t %.10M %.6D %R" | tail -n +2 | sort -k3 | cat -n' alias qt='squeue -u rmoodie -o "%.18i %.9P %.24j %.8u %.2t %.10M %.6D %R" | tail -n +2 | sort -hk6 | cat -n' alias sc='scancel -u rmoodie' # editor alias vi=vim # git aliases alias g='git' alias gb='git branch' alias gbc='git checkout -b' alias gcam='git commit --all --message' alias gcm='git commit --message' alias gg='git grep' alias gia='git add' alias gl='git log --topo-order --pretty=format:"%C(bold)Commit:%C(reset) %C(green)%H%C(red)%d%n%C(bold)Author:%C(reset) %C(cyan)%an <%ae>%n%C(bold)Date:%C(reset) %C(blue)%ai (%ar)%C(reset)%n%+B"' alias glg='git log --topo-order --all --graph --pretty=format:"%C(green)%h%C(reset) %s%C(red)%d%C(reset)%n"' alias gd='git ls-files' alias gfc='git clone' alias gfm='git pull' alias gp='git push' alias gws='git status --ignore-submodules="none" --short' alias gwS='git status --ignore-submodules="none"' alias gco='git checkout' # general aliases alias rr='source ~/.profile' alias ee='vi ~/.profile' alias l='ls' alias la='ls -larh' alias duh='du -hd1' alias pd='cd -' alias wd='cd /scratch/rmoodie/njet-tools' alias ..='cd ..'