Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build faiss-1.9.0 make -C build install error #4092

Open
Ghost-bird opened this issue Dec 16, 2024 · 2 comments
Open

build faiss-1.9.0 make -C build install error #4092

Ghost-bird opened this issue Dec 16, 2024 · 2 comments

Comments

@Ghost-bird
Copy link

OS:Ubuntu 22.04

Faiss version:1.9.0

Installed from:Building from source

Faiss compilation options:cmake -B build -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_CUVS=ON -DFAISS_OPT_LEVEL=generic -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON

Running on:

CPU
[* ] GPU
Interface:

[* ] C++
Python

Reproduction instructions:
(base) root@ubuntu:/usr/local/data/faiss# cmake -B build -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_CUVS=ON -DFAISS_OPT_LEVEL=generic -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
-- Found OpenMP: TRUE (found version "4.5")
-- Could NOT find MKL (missing: MKL_LIBRARIES)
-- Found Python: /root/miniconda3/include/python3.10 (found version "3.10.13") found components: Development NumPy Interpreter Development.Module Development.Embed
-- Found Python: /root/miniconda3/bin/python3.10 (found version "3.10.13") found components: Interpreter
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v1.9.1-7-gf4f93b55, normalized to 1.9.1.7
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done (2.1s)
-- Generating done (0.2s)
-- Build files have been written to: /usr/local/data/faiss/build
(base) root@ubuntu:/usr/local/data/faiss# cp /opt/intel/oneapi/mkl/2024.2/lib/libmkl_rt.so /usr/lib/
(base) root@ubuntu:/usr/local/data/faiss# cmake -B build -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_CUVS=ON -DFAISS_OPT_LEVEL=generic -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
-- Found OpenMP: TRUE (found version "4.5")
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found MKL: /usr/lib/libmkl_rt.so;-lm;-ldl
-- Found Python: /root/miniconda3/include/python3.10 (found version "3.10.13") found components: Development NumPy Interpreter Development.Module Development.Embed
-- Found Python: /root/miniconda3/bin/python3.10 (found version "3.10.13") found components: Interpreter
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v1.9.1-7-gf4f93b55, normalized to 1.9.1.7
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done (2.4s)
-- Generating done (0.2s)
-- Build files have been written to: /usr/local/data/faiss/build
(base) root@ubuntu:/usr/local/data/faiss# llvm-config --version
14.0.0
(base) root@ubuntu:/usr/local/data/faiss# cmake -B build -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_CUVS=ON -DFAISS_OPT_LEVEL=generic -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
-- Found OpenMP: TRUE (found version "4.5")
-- Found Python: /root/miniconda3/include/python3.10 (found version "3.10.13") found components: Development NumPy Interpreter Development.Module Development.Embed
-- Found Python: /root/miniconda3/bin/python3.10 (found version "3.10.13") found components: Interpreter
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v1.9.1-7-gf4f93b55, normalized to 1.9.1.7
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done (2.1s)
-- Generating done (0.2s)
-- Build files have been written to: /usr/local/data/faiss/build
(base) root@ubuntu:/usr/local/data/faiss# llvm-config --bindir
/usr/lib/llvm-14/bin
(base) root@ubuntu:/usr/local/data/faiss# vim /etc/profile
(base) root@ubuntu:/usr/local/data/faiss# source /etc/profile
root@ubuntu:/usr/local/data/faiss# cmake -B build -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_CUVS=ON -DFAISS_OPT_LEVEL=generic -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
-- Found OpenMP: TRUE (found version "4.5")
-- Found Python: /root/miniconda3/include/python3.10 (found version "3.10.13") found components: Development NumPy Interpreter Development.Module Development.Embed
-- Found Python: /root/miniconda3/bin/python3.10 (found version "3.10.13") found components: Interpreter
-- LLVM FileCheck Found: /usr/lib/llvm-14/bin/FileCheck
-- Google Benchmark version: v1.9.1-7-gf4f93b55, normalized to 1.9.1.7
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done (2.1s)
-- Generating done (0.2s)
-- Build files have been written to: /usr/local/data/faiss/build
root@ubuntu:/usr/local/data/faiss# make -C build -j8 faiss
make: Entering directory '/usr/local/data/faiss/build'
make[1]: Entering directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
[ 0%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuAutoTune.cpp.o
[ 2%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuCloner.cpp.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuDistance.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndex.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIcmEncoder.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexBinaryFlat.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexFlat.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVF.cu.o
[ 2%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFFlat.cu.o
[ 4%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFPQ.cu.o
[ 4%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFScalarQuantizer.cu.o
[ 4%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuResources.cpp.o
[ 4%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/StandardGpuResources.cpp.o
[ 4%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/BinaryDistance.cu.o
[ 4%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/BinaryFlatIndex.cu.o
[ 4%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/BroadcastSum.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/Distance.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/FlatIndex.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IndexUtils.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFAppend.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFBase.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlat.cu.o
[ 7%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlatScan.cu.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFInterleaved.cu.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFPQ.cu.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFUtils.cu.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFUtilsSelect1.cu.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFUtilsSelect2.cu.o
[ 9%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/InterleavedCodes.cpp.o
[ 9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/L2Norm.cu.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/L2Select.cu.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/PQScanMultiPassPrecomputed.cu.o
[ 12%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/RemapIndices.cpp.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/VectorResidual.cu.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IcmEncoder.cu.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/BlockSelectFloat.cu.o
[ 12%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/DeviceUtils.cu.o
[ 14%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/StackDeviceMemory.cpp.o
[ 14%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/Timer.cpp.o
[ 14%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/WarpSelectFloat.cu.o
[ 14%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat1.cu.o
[ 14%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat32.cu.o
[ 14%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat64.cu.o
[ 14%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat128.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat256.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF512.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF1024.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF2048.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT512.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT1024.cu.o
[ 17%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT2048.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat1.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat32.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat64.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat128.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat256.cu.o
[ 19%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF512.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF1024.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF2048.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT512.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT1024.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT2048.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_1024_8.cu.o
[ 21%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_1_1.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_128_3.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_256_4.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_32_2.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_512_8.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_64_3.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_64_2048_8.cu.o
[ 24%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1024_8.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1_1.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_128_3.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_256_4.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_32_2.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_512_8.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_64_3.cu.o
[ 26%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_64_2048_8.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_1024_8.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_1_1.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_128_3.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_256_4.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_32_2.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_512_8.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_64_3.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_64_2048_8.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_1024_8.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_1_1.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_128_3.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_256_4.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_32_2.cu.o
[ 31%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_512_8.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_64_3.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_64_2048_8.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_1024_8.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_1_1.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_128_3.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_256_4.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_32_2.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_512_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_64_3.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_64_2048_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_1024_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_1_1.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_128_3.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_256_4.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_32_2.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_512_8.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_64_3.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_64_2048_8.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_1024_8.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_1_1.cu.o
[ 39%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_128_3.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_256_4.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_32_2.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_512_8.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_64_3.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_64_2048_8.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1024_8.cu.o
[ 41%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1_1.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_128_3.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_256_4.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_32_2.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_512_8.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_64_3.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_64_2048_8.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_1024_8.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_1_1.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_128_3.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_256_4.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_32_2.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_512_8.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_64_3.cu.o
[ 46%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_64_2048_8.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1024_8.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1_1.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_128_3.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_256_4.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_32_2.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_512_8.cu.o
[ 48%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_64_3.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_64_2048_8.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_1024_8.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_1_1.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_128_3.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_256_4.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_32_2.cu.o
[ 51%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_512_8.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_64_3.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_64_2048_8.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_1024_8.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_1_1.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_128_3.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_256_4.cu.o
[ 53%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_32_2.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_512_8.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_64_3.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_64_2048_8.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_1024_8.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_1_1.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_128_3.cu.o
[ 56%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_256_4.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_32_2.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_512_8.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_64_3.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_64_2048_8.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_1024_8.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_1_1.cu.o
[ 58%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_128_3.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_256_4.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_32_2.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_512_8.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_64_3.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_64_2048_8.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_1024_8.cu.o
[ 60%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_1_1.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_128_3.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_256_4.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_32_2.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_512_8.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_64_3.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_64_2048_8.cu.o
[ 63%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_1024_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_1_1.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_128_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_256_4.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_32_2.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_512_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_64_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_64_2048_8.cu.o
[ 68%] Linking CXX static library libfaiss_gpu.a
make[3]: Leaving directory '/usr/local/data/faiss/build'
[ 68%] Built target faiss_gpu
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
[ 68%] Building CXX object faiss/CMakeFiles/faiss.dir/AutoTune.cpp.o
[ 68%] Building CXX object faiss/CMakeFiles/faiss.dir/Clustering.cpp.o
[ 68%] Building CXX object faiss/CMakeFiles/faiss.dir/Index.cpp.o
[ 68%] Building CXX object faiss/CMakeFiles/faiss.dir/IVFlib.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/Index2Layer.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexAdditiveQuantizer.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinary.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinaryFlat.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinaryFromFloat.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinaryHNSW.cpp.o
[ 70%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinaryHash.cpp.o
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexBinaryIVF.cpp.o
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexFlat.cpp.o
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexFlatCodes.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexBinaryHash.cpp:17:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexBinaryHNSW.cpp:31:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexHNSW.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexBinaryIVF.cpp:23:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIDMap.cpp.o
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVF.cpp.o
[ 73%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFAdditiveQuantizer.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFFlat.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFPQ.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFFastScan.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFAdditiveQuantizerFastScan.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFPQFastScan.cpp.o
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFPQR.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexIVFPQ.cpp:27:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 75%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFSpectralHash.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexLSH.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexNNDescent.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexLattice.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexIVFSpectralHash.cpp:21:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexNSG.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexPQ.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexFastScan.cpp.o
[ 78%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexAdditiveQuantizerFastScan.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexIVFIndependentQuantizer.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/IndexPQ.cpp:21:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexPQFastScan.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexPreTransform.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexRefine.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexReplicas.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexRowwiseMinMax.cpp.o
[ 80%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexScalarQuantizer.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexShards.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexShardsIVF.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/IndexNeuralNetCodec.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/MatrixStats.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/MetaIndexes.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/VectorTransform.cpp.o
[ 82%] Building CXX object faiss/CMakeFiles/faiss.dir/clone_index.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/index_factory.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/AuxIndexStructures.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/CodePacker.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/IDSelector.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/FaissException.cpp.o
[ 85%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/HNSW.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/NSG.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/PolysemousTraining.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/ProductQuantizer.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/AdditiveQuantizer.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/ResidualQuantizer.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/LocalSearchQuantizer.cpp.o
[ 87%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/ProductAdditiveQuantizer.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/ScalarQuantizer.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/index_read.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/index_write.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/io.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/kmeans1d.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/lattice_Zn.cpp.o
[ 90%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/pq4_fast_scan.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/pq4_fast_scan_search_1.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/pq4_fast_scan_search_qbs.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/residual_quantizer_encode_steps.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/impl/NNDescent.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/invlists/BlockInvertedLists.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/invlists/DirectMap.cpp.o
[ 92%] Building CXX object faiss/CMakeFiles/faiss.dir/invlists/InvertedLists.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/invlists/InvertedListsIOHook.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/Heap.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/NeuralNet.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/WorkerThread.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/distances.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/distances_simd.cpp.o
[ 95%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/extra_distances.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/hamming.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/partitioning.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/quantize_lut.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/random.cpp.o
In file included from /usr/local/data/faiss/faiss/utils/hamming_distance/hamdis-inl.h:23,
from /usr/local/data/faiss/faiss/utils/hamming.h:34,
from /usr/local/data/faiss/faiss/utils/hamming.cpp:24:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h: In member function ‘int faiss::HammingComputerDefault::hamming(const uint8_t*) cons’:
/usr/local/data/faiss/faiss/utils/hamming_distance/generic-inl.h:315:32: warning: statement will never be executed [-Wswitch-unreachable]
315 | [[fallthrough]];
| ^
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/sorting.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/utils.cpp.o
[ 97%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/distances_fused/avx512.cpp.o
[100%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/distances_fused/distances_fused.cpp.o
[100%] Building CXX object faiss/CMakeFiles/faiss.dir/utils/distances_fused/simdlib_based.cpp.o
[100%] Building CXX object faiss/CMakeFiles/faiss.dir/invlists/OnDiskInvertedLists.cpp.o
[100%] Linking CXX static library libfaiss.a
make[3]: Leaving directory '/usr/local/data/faiss/build'
[100%] Built target faiss
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[1]: Leaving directory '/usr/local/data/faiss/build'
make: Leaving directory '/usr/local/data/faiss/build'
root@ubuntu:/usr/local/data/faiss# make -C build -j swigfaiss
make: Entering directory '/usr/local/data/faiss/build'
make[1]: Entering directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
[ 0%] Building CXX object faiss/python/CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o
[ 2%] Swig compile swigfaiss.swig for python
make[3]: Leaving directory '/usr/local/data/faiss/build'
[ 4%] Linking CXX static library libfaiss_python_callbacks.a
[ 69%] Built target faiss_gpu
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
[ 69%] Built target faiss_python_callbacks
make[3]: Leaving directory '/usr/local/data/faiss/build'
[100%] Built target faiss
make[3]: Leaving directory '/usr/local/data/faiss/build'
[100%] Built target swigfaiss_swig_compilation
make[3]: Entering directory '/usr/local/data/faiss/build'
make[3]: Leaving directory '/usr/local/data/faiss/build'
make[3]: Entering directory '/usr/local/data/faiss/build'
[100%] Building CXX object faiss/python/CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o
[100%] Linking CXX shared library _swigfaiss.so
make[3]: Leaving directory '/usr/local/data/faiss/build'
[100%] Built target swigfaiss
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[1]: Leaving directory '/usr/local/data/faiss/build'
make: Leaving directory '/usr/local/data/faiss/build'
root@ubuntu:/usr/local/data/faiss#
root@ubuntu:/usr/local/data/faiss# (cd build/faiss/python && python setup.py install)
Copying _swigfaiss.so
/root/miniconda3/lib/python3.10/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

    ********************************************************************************
    Usage of dash-separated 'index-url' will not be supported in future
    versions. Please use the underscore name 'index_url' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

!!
opt = self.warn_dash_deprecation(opt, section)
running install
/root/miniconda3/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!!
self.initialize_options()
/root/miniconda3/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!!
self.initialize_options()
running bdist_egg
running egg_info
creating faiss.egg-info
writing faiss.egg-info/PKG-INFO
writing dependency_links to faiss.egg-info/dependency_links.txt
writing requirements to faiss.egg-info/requires.txt
writing top-level names to faiss.egg-info/top_level.txt
writing manifest file 'faiss.egg-info/SOURCES.txt'
reading manifest file 'faiss.egg-info/SOURCES.txt'
writing manifest file 'faiss.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/faiss
copying faiss/swigfaiss.py -> build/lib/faiss
copying faiss/array_conversions.py -> build/lib/faiss
copying faiss/init.py -> build/lib/faiss
copying faiss/loader.py -> build/lib/faiss
copying faiss/class_wrappers.py -> build/lib/faiss
copying faiss/gpu_wrappers.py -> build/lib/faiss
copying faiss/extra_wrappers.py -> build/lib/faiss
creating build/lib/faiss/contrib
copying faiss/contrib/torch_utils.py -> build/lib/faiss/contrib
copying faiss/contrib/ivf_tools.py -> build/lib/faiss/contrib
copying faiss/contrib/ondisk.py -> build/lib/faiss/contrib
copying faiss/contrib/evaluation.py -> build/lib/faiss/contrib
copying faiss/contrib/inspect_tools.py -> build/lib/faiss/contrib
copying faiss/contrib/factory_tools.py -> build/lib/faiss/contrib
copying faiss/contrib/big_batch_search.py -> build/lib/faiss/contrib
copying faiss/contrib/rpc.py -> build/lib/faiss/contrib
copying faiss/contrib/init.py -> build/lib/faiss/contrib
copying faiss/contrib/client_server.py -> build/lib/faiss/contrib
copying faiss/contrib/clustering.py -> build/lib/faiss/contrib
copying faiss/contrib/exhaustive_search.py -> build/lib/faiss/contrib
copying faiss/contrib/vecs_io.py -> build/lib/faiss/contrib
copying faiss/contrib/datasets.py -> build/lib/faiss/contrib
creating build/lib/faiss/contrib/torch
copying faiss/contrib/torch/quantization.py -> build/lib/faiss/contrib/torch
copying faiss/contrib/torch/init.py -> build/lib/faiss/contrib/torch
copying faiss/contrib/torch/clustering.py -> build/lib/faiss/contrib/torch
copying faiss/_swigfaiss.so -> build/lib/faiss
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/_swigfaiss.so -> build/bdist.linux-x86_64/egg/faiss
creating build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/torch_utils.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/ivf_tools.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/ondisk.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/evaluation.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/inspect_tools.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/factory_tools.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/big_batch_search.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/rpc.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/init.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/client_server.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/clustering.py -> build/bdist.linux-x86_64/egg/faiss/contrib
creating build/bdist.linux-x86_64/egg/faiss/contrib/torch
copying build/lib/faiss/contrib/torch/quantization.py -> build/bdist.linux-x86_64/egg/faiss/contrib/torch
copying build/lib/faiss/contrib/torch/init.py -> build/bdist.linux-x86_64/egg/faiss/contrib/torch
copying build/lib/faiss/contrib/torch/clustering.py -> build/bdist.linux-x86_64/egg/faiss/contrib/torch
copying build/lib/faiss/contrib/exhaustive_search.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/vecs_io.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/contrib/datasets.py -> build/bdist.linux-x86_64/egg/faiss/contrib
copying build/lib/faiss/swigfaiss.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/array_conversions.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/init.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/loader.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/class_wrappers.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/gpu_wrappers.py -> build/bdist.linux-x86_64/egg/faiss
copying build/lib/faiss/extra_wrappers.py -> build/bdist.linux-x86_64/egg/faiss
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/torch_utils.py to torch_utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/ivf_tools.py to ivf_tools.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/ondisk.py to ondisk.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/evaluation.py to evaluation.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/inspect_tools.py to inspect_tools.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/factory_tools.py to factory_tools.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/big_batch_search.py to big_batch_search.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/rpc.py to rpc.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/client_server.py to client_server.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/clustering.py to clustering.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/torch/quantization.py to quantization.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/torch/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/torch/clustering.py to clustering.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/exhaustive_search.py to exhaustive_search.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/vecs_io.py to vecs_io.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/contrib/datasets.py to datasets.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/swigfaiss.py to swigfaiss.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/array_conversions.py to array_conversions.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/loader.py to loader.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/class_wrappers.py to class_wrappers.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/gpu_wrappers.py to gpu_wrappers.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/faiss/extra_wrappers.py to extra_wrappers.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying faiss.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/faiss-1.9.0-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing faiss-1.9.0-py3.10.egg
removing '/root/miniconda3/lib/python3.10/site-packages/faiss-1.9.0-py3.10.egg' (and everything under it)
creating /root/miniconda3/lib/python3.10/site-packages/faiss-1.9.0-py3.10.egg
Extracting faiss-1.9.0-py3.10.egg to /root/miniconda3/lib/python3.10/site-packages
Adding faiss 1.9.0 to easy-install.pth file

Installed /root/miniconda3/lib/python3.10/site-packages/faiss-1.9.0-py3.10.egg
Processing dependencies for faiss==1.9.0
Searching for packaging==23.2
Best match: packaging 23.2
Adding packaging 23.2 to easy-install.pth file

Using /root/miniconda3/lib/python3.10/site-packages
Searching for numpy==2.0.1
Best match: numpy 2.0.1
Adding numpy 2.0.1 to easy-install.pth file
Installing f2py script to /root/miniconda3/bin
Installing numpy-config script to /root/miniconda3/bin

Using /root/miniconda3/lib/python3.10/site-packages
Finished processing dependencies for faiss==1.9.0

root@ubuntu:/usr/local/data/faiss# make -C build install
make: Entering directory '/usr/local/data/faiss/build'
make[1]: Entering directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 50%] Built target faiss_gpu
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 73%] Built target faiss
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 75%] Built target faiss_python_callbacks
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target swigfaiss_swig_compilation
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target swigfaiss
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target gtest
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 78%] Built target gtest_main
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
[ 78%] Linking CXX executable faiss_test
WARNING clustering 1000 points to 40 centroids: please provide at least 1560 training points
CMake Error at /usr/local/data/cmake-3.27.9/Modules/GoogleTestAddTests.cmake:112 (message):
Error running test executable.

Path: '/usr/local/data/faiss/build/tests/faiss_test'
Result: 2
Output:
  INTEL oneMKL ERROR: /lib/libmkl_avx512.so.2: cannot open shared object file: No such file or directory.
  Intel oneMKL FATAL ERROR: Cannot load libmkl_avx512.so.2 or libmkl_def.so.2.

Call Stack (most recent call first):
/usr/local/data/cmake-3.27.9/Modules/GoogleTestAddTests.cmake:225 (gtest_discover_tests_impl)

make[2]: *** [tests/CMakeFiles/faiss_test.dir/build.make:589: tests/faiss_test] Error 1
make[2]: *** Deleting file 'tests/faiss_test'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[1]: *** [CMakeFiles/Makefile2:1959: tests/CMakeFiles/faiss_test.dir/all] Error 2
make[1]: Leaving directory '/usr/local/data/faiss/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/usr/local/data/faiss/build'
root@ubuntu:/usr/local/data/faiss# find / -name libmkl_avx512.so.2
/root/miniconda3/lib/libmkl_avx512.so.2
/root/miniconda3/pkgs/mkl-2024.2.2-ha957f24_16/lib/libmkl_avx512.so.2
/root/miniconda3/pkgs/mkl-2023.1.0-h213fc3f_46344/lib/libmkl_avx512.so.2
/opt/intel/oneapi/2024.2/lib/libmkl_avx512.so.2
/opt/intel/oneapi/2024.2/lib32/libmkl_avx512.so.2
/opt/intel/oneapi/mkl/2024.2/lib/libmkl_avx512.so.2
/opt/intel/oneapi/mkl/2024.2/lib32/libmkl_avx512.so.2
root@ubuntu:/usr/local/data/faiss# cp /opt/intel/oneapi/mkl/2024.2/lib/libmkl_avx512.so.2 /usr/lib/
root@ubuntu:/usr/local/data/faiss# make -C build install
make: Entering directory '/usr/local/data/faiss/build'
make[1]: Entering directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 50%] Built target faiss_gpu
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 73%] Built target faiss
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 75%] Built target faiss_python_callbacks
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target swigfaiss_swig_compilation
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target swigfaiss
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 76%] Built target gtest
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 78%] Built target gtest_main
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
[ 78%] Linking CXX executable faiss_test
WARNING clustering 1000 points to 40 centroids: please provide at least 1560 training points
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 85%] Built target faiss_test
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
[ 85%] Building CXX object perf_tests/CMakeFiles/faiss_perf_tests_utils.dir/utils.cpp.o
[ 85%] Linking CXX static library libfaiss_perf_tests_utils.a
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 85%] Built target faiss_perf_tests_utils
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/benchmark.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/check.cc.o
[ 87%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/colorprint.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/complexity.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/console_reporter.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/counter.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/json_reporter.cc.o
[ 89%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/perf_counters.cc.o
[ 91%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/reporter.cc.o
[ 91%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/statistics.cc.o
[ 91%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/string_util.cc.o
[ 91%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[ 91%] Building CXX object _deps/googlebenchmark-build/src/CMakeFiles/benchmark.dir/timers.cc.o
[ 91%] Linking CXX static library libbenchmark.a
make[2]: Leaving directory '/usr/local/data/faiss/build'
[ 91%] Built target benchmark
make[2]: Entering directory '/usr/local/data/faiss/build'
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[2]: Entering directory '/usr/local/data/faiss/build'
[ 91%] Building CXX object perf_tests/CMakeFiles/bench_no_multithreading_rcq_search.dir/bench_no_multithreading_rcq_search.cpp.o
[ 91%] Linking CXX executable bench_no_multithreading_rcq_search
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::initialize(faiss::Index const*)': GpuAutoTune.cpp:(.text+0x473): undefined reference to typeinfo for faiss::IndexShardsIVF'
/usr/bin/ld: GpuAutoTune.cpp:(.text+0x55b): undefined reference to faiss::ParameterSpace::add_range(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: GpuAutoTune.cpp:(.text+0x604): undefined reference to faiss::ParameterSpace::ParameterSpace()'
/usr/bin/ld: GpuAutoTune.cpp:(.text+0x610): undefined reference to faiss::ParameterSpace::initialize(faiss::Index const*)' /usr/bin/ld: GpuAutoTune.cpp:(.text+0x69e): undefined reference to faiss::ParameterSpace::add_range(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: GpuAutoTune.cpp:(.text+0x6e4): undefined reference to vtable for faiss::ParameterSpace' /usr/bin/ld: GpuAutoTune.cpp:(.text+0x7fb): undefined reference to vtable for faiss::ParameterSpace'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::set_index_parameter(faiss::Index*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double) const': GpuAutoTune.cpp:(.text+0x1d7): undefined reference to faiss::ParameterSpace::set_index_parameter(faiss::Index*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, double) const'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::initialize(faiss::Index const*)': GpuAutoTune.cpp:(.text+0x7cb): undefined reference to faiss::ParameterSpace::initialize(faiss::Index const*)'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::initialize(faiss::Index const*) [clone .cold]': GpuAutoTune.cpp:(.text.unlikely+0x3b): undefined reference to vtable for faiss::ParameterSpace'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::~GpuParameterSpace()': GpuAutoTune.cpp:(.text._ZN5faiss3gpu17GpuParameterSpaceD2Ev[_ZN5faiss3gpu17GpuParameterSpaceD5Ev]+0x7): undefined reference to vtable for faiss::ParameterSpace'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o): in function faiss::gpu::GpuParameterSpace::~GpuParameterSpace()': GpuAutoTune.cpp:(.text._ZN5faiss3gpu17GpuParameterSpaceD0Ev[_ZN5faiss3gpu17GpuParameterSpaceD5Ev]+0x7): undefined reference to vtable for faiss::ParameterSpace'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuAutoTune.cpp.o):(.data.rel.ro._ZTIN5faiss3gpu17GpuParameterSpaceE[_ZTIN5faiss3gpu17GpuParameterSpaceE]+0x10): undefined reference to typeinfo for faiss::ParameterSpace' /usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuCloner.cpp.o): in function faiss::gpu::index_binary_cpu_to_gpu_multiple(std::vector<faiss::gpu::GpuResourcesProvider*, std::allocatorfaiss::gpu::GpuResourcesProvider* >&, std::vector<int, std::allocator >&, faiss::IndexBinary const*, faiss::gpu::GpuMultipleClonerOptions const*)':
GpuCloner.cpp:(.text+0xee6): undefined reference to faiss::IndexShardsTemplate<faiss::IndexBinary>::IndexShardsTemplate(bool, bool)' /usr/bin/ld: GpuCloner.cpp:(.text+0x10f7): undefined reference to faiss::IndexReplicasTemplatefaiss::IndexBinary::IndexReplicasTemplate(bool)'
/usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuCloner.cpp.o): in function faiss::gpu::ToGpuClonerMultiple::clone_Index_to_shards(faiss::Index const*)': GpuCloner.cpp:(.text+0x251a): undefined reference to faiss::IndexShardsIVF::IndexShardsIVF(faiss::Index*, unsigned long, bool, bool)'
/usr/bin/ld: GpuCloner.cpp:(.text+0x26b7): undefined reference to faiss::IndexShardsTemplate<faiss::Index>::IndexShardsTemplate(int, bool, bool)' /usr/bin/ld: ../faiss/gpu/libfaiss_gpu.a(GpuCloner.cpp.o): in function faiss::gpu::ToGpuClonerMultiple::clone_Index(faiss::Index const*) [clone .localalias]':
GpuCloner.cpp:(.text+0x2b26): undefined reference to `faiss::IndexReplicasTemplatefaiss::Index::IndexReplicasTemplate(bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [perf_tests/CMakeFiles/bench_no_multithreading_rcq_search.dir/build.make:110: perf_tests/bench_no_multithreading_rcq_search] Error 1
make[2]: Leaving directory '/usr/local/data/faiss/build'
make[1]: *** [CMakeFiles/Makefile2:2067: perf_tests/CMakeFiles/bench_no_multithreading_rcq_search.dir/all] Error 2
make[1]: Leaving directory '/usr/local/data/faiss/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/usr/local/data/faiss/build'

@bshethmeta
Copy link
Contributor

Our nightly builds are succeeding, let me know if you have more context on the question.

Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants