rioyokotalab / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Other
2 stars 0 forks source link

[OpenCV] Reedbush Setup #6

Closed Hiroki11x closed 7 years ago

Hiroki11x commented 7 years ago

I tried opencv install by executing following sentence

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/home/gi75/i75012/env/local/opencv-2.4.13 -DCMAKE_BUILD_TYPE=RELEASE -DCUDA_NVCC_FLAGS='-std=c++11' -DCUDA_ARCH_BIN="2.0 2.1(2.0) 3.0 3.5 3.7 5.0 5.2 6.0 6.1" -DWITH_FFMPEG=OFF -DCMAKE_CXX_FLAGS=-D_FORCE_INLINES -DCUDA_TOOLKIT_ROOT_DIR=$CUDA_HOME ..

after that

make -j 128

then

[ 27%] Built target pch_Generate_opencv_test_gpu
nvcc fatal   : Could not open output file /home/gi75/i75012/env/src/opencv-2.4.13/build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/cuda_compile_generated_matrix_operations.cu.o.NVCC-depend
CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:208 (message):
  Error generating
  /home/gi75/i75012/env/src/opencv-2.4.13/build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o

make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2
Hiroki11x commented 7 years ago
module load opencv/3.2.0