-
Notifications
You must be signed in to change notification settings - Fork 0
/
_zshenv
40 lines (32 loc) · 1.37 KB
/
_zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Debuginfod servers
# export DEBUGINFOD_URLS="https://debuginfod.elfutils.org/"
# Use nvim as the default editor
export VISUAL='nvim -p'
export EDITOR=$VISUAL
# Add user's home/bin to path
export PATH="${HOME}/bin:$PATH"
# Publish ssh agent socket
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
# Add user's home/.local hierarchy to appropriate variables
export PATH="${HOME}/.local/bin:$PATH"
export LIBRARY_PATH="${HOME}/.local/lib:$LIBRARY_PATH"
export LD_LIBRARY_PATH="${HOME}/.local/lib:$LD_LIBRARY_PATH"
export CPLUS_INCLUDE_PATH="${HOME}/.local/include:$CPLUS_INCLUDE_PATH"
# Intel MKL
export INTEL_MKL_ROOT_DIR="/opt/intel/mkl"
export CPLUS_INCLUDE_PATH="${INTEL_MKL_ROOT_DIR}/include:$CPLUS_INCLUDE_PATH"
export LIBRARY_PATH="${INTEL_MKL_ROOT_DIR}/lib/intel64:$LIBRARY_PATH"
export LD_LIBRARY_PATH="${INTEL_MKL_ROOT_DIR}/lib/intel64:$LD_LIBRARY_PATH"
# Intel OpenCl
# export INTEL_OPENCL_ROOT_DIR="/opt/intel/opencl"
# export PATH="${INTEL_OPENCL_ROOT_DIR}/bin:$PATH"
# export LIBRARY_PATH="${INTEL_OPENCL_ROOT_DIR}/lib64:$LIBRARY_PATH"
# export LD_LIBRARY_PATH="${INTEL_OPENCL_ROOT_DIR}/lib64:$LD_LIBRARY_PATH"
# Cuda
# export CUDA_ROOT_DIR="/usr/local/cuda"
# export PATH="${CUDA_ROOT_DIR}/bin:${CUDA_ROOT_DIR}/nvvm/bin:$PATH"
# export LD_LIBRARY_PATH="${CUDA_ROOT_DIR}/lib64:$LD_LIBRARY_PATH"
# Load local zshenv.
if [ -f .zshenv-local ]; then
source .zshenv-local
fi