warp-ctc
warp-ctc copied to clipboard
CMAKE : installation failed
Hello,
l get this error while installing FAST CTC at the make
step
export CUDA_BIN_PATH="/usr/local/cuda/include" git clone https://github.com/baidu-research/warp-ctc.git cd warp-ctc mkdir build ; cd build;
cmake ../
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr (found suitable version "7.5", minimum required is "6.5")
-- cuda found TRUE
-- Found Torch7 in /root/torch/install
-- Torch found /root/torch/install/share/cmake/torch
-- Building shared library with GPU support
-- Building Torch Bindings with GPU support
-- Configuring done
-- Generating done
make
[ 10%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00004883_00000000-16_reduce.compute_52.cpp1.ii".
CMake Error at warpctc_generated_reduce.cu.o.cmake:266 (message):
Error generating file
/root/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o
CMakeFiles/warpctc.dir/build.make:70: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o' failed
make[2]: *** [CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/warpctc.dir/all' failed
make[1]: *** [CMakeFiles/warpctc.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
it seems that the problem comes from gcc 5. How can l change that to gcc 4.8.4 to get -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4
rather than -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0
Hello, I'm also getting this problem. And my environment is Ubuntu16.04, GLIBC2.23, and gcc 5.4. If you have got the solution, please help me! Thanks!
using cuda compilation tools 8.0 it works. You must ensure that when you run nvcc --version in your terminal you get version 8.0. It is not a problem of C/CXX compiler GNU 5.4.0
I am using cuda 9.0..I am getting the same issue...please help me out..
same problem please provide solution for this issue.
Hello, I'm also getting this problem. And my environment is Ubuntu16.04, GLIBC2.23, and gcc 5.4. If you have got the solution, please help me! Thanks!
Hi everyone, I was getting same exact error and this solution worked for me completely. thanks 2 hellbago