facebookresearch/faiss

Fiass-gpu building failure due to "Error 137" when running `make`

nkg114mc opened this issue · 1 comments

Summary

I keep getting "Error 137" when trying to run make. Looks like it was caused by the process consumed too many resource (memory, etc.)? Is this an unique issue on my side, or a known issue that has been observed before?

I have no problem on building the faiss CPU version.

Platform

OS: Ubuntu 20.04.2 LTS

Faiss version: V1.8.0

Installed from: pip install faiss-gpu

Faiss compilation options: -DFAISS_ENABLE_GPU=ON -DCUDAToolkit_ROOT="/usr/local/cuda" -DBLAS_ROOT="~/blas" -DMKL_LIBRARIES="~/mlk-libs" -DCMAKE_CUDA_ARCHITECTURES="60;60"

CUDA version: Cuda11.2

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Reproduction instructions

  1. First run cmake:
cd faiss
cmake -B build . -DFAISS_ENABLE_GPU=ON -DCUDAToolkit_ROOT="/usr/local/cuda"  -DBLAS_ROOT="~/blas" -DMKL_LIBRARIES="~/mlk-libs"  -DCMAKE_CUDA_ARCHITECTURES="60;60"
  1. Run make, and then got the error:

make -C build -j faiss

The make will stuck at 65% and start crashing with "Error 137":

make: Entering directory '/home/faiss-gpu/faiss/build'
make[1]: Entering directory '/home/faiss-gpu/faiss/build'
make[2]: Entering directory '/home/faiss-gpu/faiss/build'
make[3]: Entering directory '/home/faiss-gpu/faiss/build'
make[3]: Leaving directory '/home/faiss-gpu/faiss/build'
make[3]: Entering directory '/home/faiss-gpu/faiss/build'
[  0%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuAutoTune.cpp.o
[  0%] 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/GpuIcmEncoder.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/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/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
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/Distance.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/FlatIndex.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFPQ.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IndexUtils.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFAppend.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/BroadcastSum.cu.o
[  6%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFBase.cu.o
[  9%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlat.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
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/L2Norm.cu.o
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlatScan.cu.o
[ 11%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/RemapIndices.cpp.o
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/L2Select.cu.o
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/PQScanMultiPassPrecomputed.cu.o
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/VectorResidual.cu.o
[ 11%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IcmEncoder.cu.o
[ 13%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/DeviceUtils.cu.o
[ 13%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/StackDeviceMemory.cpp.o
[ 13%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/Timer.cpp.o
[ 13%] Building CXX object faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/InterleavedCodes.cpp.o
[ 13%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/WarpSelectFloat.cu.o
[ 13%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat1.cu.o
[ 15%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat64.cu.o
[ 15%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat128.cu.o
[ 15%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat256.cu.o
[ 15%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF512.cu.o
[ 15%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF1024.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF2048.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT1024.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT2048.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/BlockSelectFloat.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat1.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat32.cu.o
[ 18%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat64.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat256.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF512.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF1024.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT512.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF2048.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT1024.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat128.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT512.cu.o
[ 20%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat32.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_128_3.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_1_1.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_256_4.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_32_2.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_64_3.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_64_2048_8.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1024_8.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1_1.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_128_3.cu.o
[ 22%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_1024_8.cu.o
[ 25%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_256_4.cu.o
[ 27%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_512_8.cu.o
[ 27%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_64_3.cu.o
[ 27%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_64_2048_8.cu.o
[ 27%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_1024_8.cu.o
[ 27%] 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_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
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_64_2048_8.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT2048.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_64_3.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_faissgpuCodec21_faissgpuIPDistance_128_1024_8.cu.o
[ 34%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_32_2.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
[ 34%] 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_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_256_4.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_512_8.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_512_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_64_3.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_64_2048_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_1024_8.cu.o
[ 36%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_1_1.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_32_2.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_256_4.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_512_8.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_64_3.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_64_2048_8.cu.o
[ 40%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1024_8.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_faissgpuCodec41_faissgpuIPDistance_128_1024_8.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_1_1.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_32_2.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_128_3.cu.o
[ 29%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_1024_8.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_256_4.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_32_2.cu.o
[ 43%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_512_8.cu.o
[ 47%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_64_2048_8.cu.o
[ 47%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1024_8.cu.o
[ 47%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1_1.cu.o
[ 47%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_128_3.cu.o
[ 47%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_256_4.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_512_8.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_64_3.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_64_2048_8.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_1024_8.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_1_1.cu.o
[ 50%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_128_3.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_32_2.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_512_8.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_64_3.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_128_3.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_64_2048_8.cu.o
[ 52%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_1024_8.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_128_3.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_256_4.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_32_2.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_512_8.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_64_3.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_64_2048_8.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_128_3.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_1_1.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_256_4.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_32_2.cu.o
[ 54%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_512_8.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_64_2048_8.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_1024_8.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_1_1.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_1_1.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_128_3.cu.o
[ 59%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_256_4.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_64_3.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_64_2048_8.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_1024_8.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_1_1.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_128_3.cu.o
[ 61%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_32_2.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_64_2048_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_faissgpuIPDistance_128_64_3.cu.o
[ 65%] 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_faissgpuIPDistance_128_512_8.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_64_2048_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_faissgpuCodec11_faissgpuL2Distance_64_2048_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_64_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_32_2.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_128_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1_1.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_64_2048_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_64_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_32_2.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_256_4.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_1024_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_1_1.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_64_3.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_512_8.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_256_4.cu.o
[ 65%] Building CUDA object faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_128_3.cu.o
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1344: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_64_2048_8.cu.o] Error 137
Killed
make[3]: *** Waiting for unfinished jobs....
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:478: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFUtilsSelect2.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:105: faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuDistance.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:328: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/FlatIndex.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:358: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFAppend.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:403: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlatScan.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1434: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2304: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_64_2048_8.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1959: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_1024_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1314: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_512_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2289: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_64_3.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1884: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1914: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_512_8.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:463: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFUtilsSelect1.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:522: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/L2Select.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:268: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/BinaryDistance.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1614: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_1_1.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:894: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat256.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1104: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_64_2048_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1944: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_64_2048_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:699: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat64.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:774: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF2048.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:729: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloat256.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:819: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT2048.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1074: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:789: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatT512.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:418: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFInterleaved.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:939: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF2048.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2094: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1_1.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:180: faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVF.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1719: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_1024_8.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:924: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF1024.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:759: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/blockselect/BlockSelectFloatF1024.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1089: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_64_3.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:834: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloat1.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:909: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatF512.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2889: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_64_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:984: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT2048.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1644: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_256_4.cu.o] Error 137
Killed
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:654: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/WarpSelectFloat.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1059: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_32_2.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:195: faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFFlat.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1839: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1024_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:954: faiss/gpu/CMakeFiles/faiss_gpu.dir/utils/warpselect/WarpSelectFloatT512.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1164: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2154: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2544: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_64_2048_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2439: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_1024_8.cu.o] Error 137
Killed
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1869: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_128_3.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2004: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2874: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_512_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1209: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_64_3.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2079: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_128_1024_8.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:999: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_1024_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2049: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_64_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2334: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_1_1.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2814: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_1_1.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1134: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1_1.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2499: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_32_2.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1464: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_64_2048_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:388: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFFlat.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2019: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_32_2.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1449: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_64_3.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1029: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_128_3.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1479: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_1024_8.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2514: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuIPDistance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:433: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFPQ.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2574: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_1_1.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2904: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_64_2048_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2409: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_64_3.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2064: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_64_2048_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1404: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_256_4.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2394: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:210: faiss/gpu/CMakeFiles/faiss_gpu.dir/GpuIndexIVFPQ.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1929: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_64_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2184: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuL2Distance_64_2048_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2664: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_64_2048_8.cu.o] Error 137
Killed
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2214: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_1_1.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2244: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1194: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_512_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2709: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_128_3.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1569: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_64_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2604: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec61_faissgpuL2Distance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1989: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_128_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2034: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec41_faissgpuIPDistance_128_512_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1539: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_32_2.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1494: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_1_1.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1149: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_128_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1554: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_128_512_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1044: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuIPDistance_128_256_4.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2274: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuIPDistance_128_512_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2799: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_1024_8.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1224: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_64_2048_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2349: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec51_faissgpuL2Distance_128_128_3.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1239: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuIPDistance_128_1024_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2679: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_1024_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1599: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_1024_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1389: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_128_3.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2724: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuIPDistance_128_256_4.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1659: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuL2Distance_128_32_2.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1749: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuIPDistance_128_128_3.cu.o] Error 137
Killed
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1419: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec11_faissgpuL2Distance_128_32_2.cu.o] Error 137
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1119: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec01_faissgpuL2Distance_128_1024_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:2859: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodecFloat_faissgpuL2Distance_128_32_2.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:373: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IVFBase.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1854: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec31_faissgpuL2Distance_128_1_1.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:1584: faiss/gpu/CMakeFiles/faiss_gpu.dir/template_faissgpuCodec21_faissgpuIPDistance_64_2048_8.cu.o] Error 137
Killed
make[3]: *** [faiss/gpu/CMakeFiles/faiss_gpu.dir/build.make:581: faiss/gpu/CMakeFiles/faiss_gpu.dir/impl/IcmEncoder.cu.o] Error 137
make[3]: Leaving directory '/home/faiss-gpu/faiss/build'
make[2]: *** [CMakeFiles/Makefile2:1136: faiss/gpu/CMakeFiles/faiss_gpu.dir/all] Error 2
make[2]: Leaving directory '/home/faiss-gpu/faiss/build'
make[1]: *** [CMakeFiles/Makefile2:1039: faiss/CMakeFiles/faiss.dir/rule] Error 2
make[1]: Leaving directory '/home/faiss-gpu/faiss/build'
make: *** [Makefile:543: faiss] Error 2
make: Leaving directory '/home/faiss-gpu/faiss/build'

I just realized that there is one line in the INSTALL.md Step 2 section:

"
The -j option enables parallel compilation of multiple units, leading to a faster build, but increasing the chances of running out of memory, in which case it is recommended to set the -j option to a fixed value (such as -j4).
"

After changing the make command to make -C build -j4 faiss, there is no crash anymore.