Commit 0916bfe7 authored by Your Name's avatar Your Name
Browse files

修改compile脚本至pwd路径

parent 9f59fa20
...@@ -12,7 +12,8 @@ CXX=hipcc CC=hipcc cmake -DFAISS_ENABLE_GPU=ON -DBUILD_SHARED_LIBS=ON -DBUILD_T ...@@ -12,7 +12,8 @@ CXX=hipcc CC=hipcc cmake -DFAISS_ENABLE_GPU=ON -DBUILD_SHARED_LIBS=ON -DBUILD_T
make -j32 faiss VERBOSE=1 > hc_faiss.log 2>&1 make -j32 faiss VERBOSE=1 > hc_faiss.log 2>&1
make -j32 swigfaiss VERBOSE=1 > hc_swigfaiss.log 2>&1 make -j32 swigfaiss VERBOSE=1 > hc_swigfaiss.log 2>&1
export LD_LIBRARY_PATH=/public/home/huchen/faiss/faiss_gitlab_ok/build/faiss/gpu/test/:/public/home/huchen/faiss/faiss_gitlab_ok/build/faiss/:/public/home/huchen/faiss/faiss_gitlab_ok/build/lib/:$LD_LIBRARY_PATH export BUILD_DIR=`pwd`
export LD_LIBRARY_PATH=${BUILD_DIR}/faiss/gpu/test/:${BUILD_DIR}/faiss/:${BUILD_DIR}/lib/:$LD_LIBRARY_PATH
make -j32 install VERBOSE=1 > hc_install.log 2>&1 make -j32 install VERBOSE=1 > hc_install.log 2>&1
#make -j32 test VERBOSE=1 > hc_test.log 2>&1 #make -j32 test VERBOSE=1 > hc_test.log 2>&1
......
...@@ -6,7 +6,9 @@ export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/l ...@@ -6,7 +6,9 @@ export LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/l
export CPLUS_INCLUDE_PATH=${ROCM_PATH}/hiprand/include/:${ROCM_PATH}/rocrand/include:$CPLUS_INCLUDE_PATH export CPLUS_INCLUDE_PATH=${ROCM_PATH}/hiprand/include/:${ROCM_PATH}/rocrand/include:$CPLUS_INCLUDE_PATH
export LD_LIBRARY_PATH=${ROCM_PATH}/hipblas/lib/:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${ROCM_PATH}/hipblas/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${ROCM_PATH}/llvm/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${ROCM_PATH}/llvm/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/public/home/huchen/faiss/faiss_gitlab_ok/build/faiss/gpu/test/:/public/home/huchen/faiss/faiss_gitlab_ok/build/faiss/:/public/home/huchen/faiss/faiss_gitlab_ok/build/lib/:$LD_LIBRARY_PATH
export BUILD_DIR=`pwd`
export LD_LIBRARY_PATH=${BUILD_DIR}/faiss/gpu/test/:${BUILD_DIR}faiss/:${BUILD_DIR}/lib/:$LD_LIBRARY_PATH
#export HIP_KERNEL_PRINTF=1 #export HIP_KERNEL_PRINTF=1
#make -j95 VERBOSE=1 #make -j95 VERBOSE=1
export HIP_VISIBLE_DEVICES=3 export HIP_VISIBLE_DEVICES=3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment