[ 28%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o
[ 28%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/ctc_entrypoint.cu(1): error: this declaration has no storage class or type specifier
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/ctc_entrypoint.cu(1): error: expected a ";"
2 errors detected in the compilation of "/tmp/tmpxft_00000943_00000000-12_ctc_entrypoint.compute_62.cpp1.ii".
CMake Error at warpctc_generated_ctc_entrypoint.cu.o.cmake:266 (message):
Error generating file
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_ctc_entrypoint.cu.o
CMakeFiles/warpctc.dir/build.make:63: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o' failed
make[3]: [CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o] Error 1
make[3]: Waiting for unfinished jobs....
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]"
(149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)"
/usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during:
instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]"
(76): here
instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]"
(124): here
instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(139): here
instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]"
(157): here
make[3]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/warpctc.dir/all' failed
make[2]: [CMakeFiles/warpctc.dir/all] Error 2
make[2]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build'
Makefile:127: recipe for target 'all' failed
make[1]: [all] Error 2
make[1]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build'
generating /tmp/tmpzdx_enm6/_ctc.c
setting the current directory to '/tmp/tmpzdx_enm6'
running build_ext
building '_ctc' extension
creating data
creating data/f3v1
creating data/f3v1/v-yuewng
creating data/f3v1/v-yuewng/gitclone
creating data/f3v1/v-yuewng/gitclone/speech
creating data/f3v1/v-yuewng/gitclone/speech/libs
creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc
creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding
creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src
gcc -pthread -B /opt/conda/envs/pytorch-py3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/TH -I/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/include -I/opt/conda/envs/pytorch-py3.6/include/python3.6m -c _ctc.c -o ./_ctc.o
gcc -pthread -B /opt/conda/envs/pytorch-py3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/TH -I/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/include -I/opt/conda/envs/pytorch-py3.6/include/python3.6m -c /data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.c -o ./data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.o
gcc -pthread -shared -B /opt/conda/envs/pytorch-py3.6/compiler_compat -L/opt/conda/envs/pytorch-py3.6/lib -Wl,-rpath=/opt/conda/envs/pytorch-py3.6/lib -Wl,--no-as-needed -Wl,--sysroot=/ ./_ctc.o ./data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.o -L/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build -lwarpctc -o ./_ctc.so
/opt/conda/envs/pytorch-py3.6/compiler_compat/ld: cannot find -lwarpctc
collect2: error: ld returned 1 exit status
Traceback (most recent call last):
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/unixccompiler.py", line 197, in link
self.spawn(linker + ld_args)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 51, in _build
dist.run_command('build_ext')
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 558, in build_extension
target_lang=language)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/ccompiler.py", line 717, in link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/unixccompiler.py", line 199, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "build.py", line 39, in
ffi.build()
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 184, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 108, in _build_extension
outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/api.py", line 690, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/recompiler.py", line 1513, in recompile
compiler_verbose, debug)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1
Makefile:5: recipe for target 'warp' failed
make: *** [warp] Error 1
[ 28%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o [ 28%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o /data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/ctc_entrypoint.cu(1): error: this declaration has no storage class or type specifier
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/ctc_entrypoint.cu(1): error: expected a ";"
2 errors detected in the compilation of "/tmp/tmpxft_00000943_00000000-12_ctc_entrypoint.compute_62.cpp1.ii". CMake Error at warpctc_generated_ctc_entrypoint.cu.o.cmake:266 (message): Error generating file /data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_ctc_entrypoint.cu.o
CMakeFiles/warpctc.dir/build.make:63: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o' failed make[3]: [CMakeFiles/warpctc.dir/src/warpctc_generated_ctc_entrypoint.cu.o] Error 1 make[3]: Waiting for unfinished jobs.... /data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::add<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::negate<float, float>, Rop=ctc_helper::add<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::negate<float, float>, Rof=ctc_helper::add<float, float>]" (149): here
/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/src/reduce.cu(44): warning: function "shfl_down(float, unsigned int, int)" /usr/local/cuda/include/sm_30_intrinsics.hpp(278): here was declared deprecated ("__shfl_down() is deprecated in favor of shfl_down_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).") detected during: instantiation of "T CTAReduce<NT, T, Rop>::reduce(int, T, CTAReduce<NT, T, Rop>::Storage &, int, Rop) [with NT=128, T=float, Rop=ctc_helper::maximum<float, float>]" (76): here instantiation of "void reduce_rows<NT,Iop,Rop,T>(Iop, Rop, const T , T , int, int) [with NT=128, Iop=ctc_helper::identity<float, float>, Rop=ctc_helper::maximum<float, float>, T=float]" (124): here instantiation of "void ReduceHelper::impl(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (139): here instantiation of "ctcStatus_t reduce(Iof, Rof, const T , T , int, int, __nv_bool, cudaStream_t) [with T=float, Iof=ctc_helper::identity<float, float>, Rof=ctc_helper::maximum<float, float>]" (157): here
make[3]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build' CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/warpctc.dir/all' failed make[2]: [CMakeFiles/warpctc.dir/all] Error 2 make[2]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build' Makefile:127: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build' generating /tmp/tmpzdx_enm6/_ctc.c setting the current directory to '/tmp/tmpzdx_enm6' running build_ext building '_ctc' extension creating data creating data/f3v1 creating data/f3v1/v-yuewng creating data/f3v1/v-yuewng/gitclone creating data/f3v1/v-yuewng/gitclone/speech creating data/f3v1/v-yuewng/gitclone/speech/libs creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding creating data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src gcc -pthread -B /opt/conda/envs/pytorch-py3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/TH -I/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/include -I/opt/conda/envs/pytorch-py3.6/include/python3.6m -c _ctc.c -o ./_ctc.o gcc -pthread -B /opt/conda/envs/pytorch-py3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include -I/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/TH -I/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/include -I/opt/conda/envs/pytorch-py3.6/include/python3.6m -c /data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.c -o ./data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.o gcc -pthread -shared -B /opt/conda/envs/pytorch-py3.6/compiler_compat -L/opt/conda/envs/pytorch-py3.6/lib -Wl,-rpath=/opt/conda/envs/pytorch-py3.6/lib -Wl,--no-as-needed -Wl,--sysroot=/ ./_ctc.o ./data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/pytorch_binding/src/warp_ctc.o -L/data/f3v1/v-yuewng/gitclone/speech/libs/warp-ctc/build -lwarpctc -o ./_ctc.so /opt/conda/envs/pytorch-py3.6/compiler_compat/ld: cannot find -lwarpctc collect2: error: ld returned 1 exit status Traceback (most recent call last): File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/unixccompiler.py", line 197, in link self.spawn(linker + ld_args) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 51, in _build dist.run_command('build_ext') File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/command/build_ext.py", line 558, in build_extension target_lang=language) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/ccompiler.py", line 717, in link_shared_object extra_preargs, extra_postargs, build_temp, target_lang) File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/distutils/unixccompiler.py", line 199, in link raise LinkError(msg) distutils.errors.LinkError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "build.py", line 39, in
ffi.build()
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 184, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 108, in _build_extension
outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/api.py", line 690, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/recompiler.py", line 1513, in recompile
compiler_verbose, debug)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1
Makefile:5: recipe for target 'warp' failed
make: *** [warp] Error 1