warp-ctc icon indicating copy to clipboard operation
warp-ctc copied to clipboard

Installaiton on Ubuntu 16.04 fails

Open sarvex opened this issue 8 years ago • 5 comments

[ 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_00001829_00000000-16_reduce.compute_52.cpp1.ii".
CMake Error at warpctc_generated_reduce.cu.o.cmake:266 (message):
  Error generating file
  /home/sarvex/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

sarvex avatar Jun 14 '16 06:06 sarvex

I got exactly same thing here following installation guide. Any solution for this one?

Godricly avatar Jun 17 '16 02:06 Godricly

well. I copied .cpp as .cu and it passed. Not sure if this is right approach. The icon of .cu file stands for a link? both tests are passed.

Godricly avatar Jun 17 '16 02:06 Godricly

Got the same issue. The following solution helped me. Add these CXX compilation flags to the CMakeLists.txt: -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__

vladimir-chernykh avatar Aug 06 '16 09:08 vladimir-chernykh

gcc5 is not supported in CUDA 7.5. Will you try again with CUDA 8.0? It appears CUDA 8.0 supports Ubuntu 16.04 with gcc 5.3.1.

jaredcasper avatar Oct 31 '16 21:10 jaredcasper

thank you all above,you fix my error^-^

rockycao0 avatar Nov 11 '18 11:11 rockycao0