-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.sh
More file actions
18 lines (14 loc) · 681 Bytes
/
Copy pathenv.sh
File metadata and controls
18 lines (14 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
fullpath=$(readlink --canonicalize --no-newline $BASH_SOURCE)
cur_dir=$(cd `dirname ${fullpath}`; pwd)
# echo ${cur_dir}
export PYTHONUNBUFFERED=1
export BITGEN_ROOT=${cur_dir}
export PATH=${BITGEN_ROOT}/parabix-devel/build:$PATH # icgrep
export PATH=${BITGEN_ROOT}/hscompile/build:$PATH # hscompile
export PATH=${BITGEN_ROOT}/ngAP/code/build/bin:$PATH # ngap
export PATH=${BITGEN_ROOT}/VASim:$PATH # VASim
export CUDA_HOME=$(dirname $(dirname $(command -v nvcc)))
# Fix undefined symbol: __nvJitLinkAddData_12_4
# export LD_LIBRARY_PATH=$(spack location -i cuda@12.4.1)/lib64:$LD_LIBRARY_PATH
# sudo nvidia-smi -pm 1