安装失败
Created by: elvinpoon
环境:ubuntu16.04 + cuda8.0RC + cuDNN5.1.5
CMake Error at paddle_cuda_generated_hl_table_apply.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_table_apply.cu.o
paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:2365: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_table_apply.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_table_apply.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Done processing /home/pcy/paddle/paddle/math/Vector.cpp
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/Allocator.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/BaseMatrix.h
Total errors found: 0
/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration
using hppl::atomicAdd;
^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'
__SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
^
Done processing /home/pcy/paddle/paddle/math/Bits.h
Total errors found: 0
CMake Error at paddle_cuda_generated_hl_cuda_sequence.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sequence.cu.o
paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:2140: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sequence.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sequence.cu.o] Error 1
Done processing /home/pcy/paddle/paddle/math/CpuSparseMatrix.h
Total errors found: 0
/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function 'void hl_vector_sum(paddle::real*, paddle::real*, int)':
/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu:268:21: error: comparison of constant '34' with boolean expression is always false [-Werror=bool-compare]
} while (isNotReady == cudaErrorNotReady);
^
/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function 'void hl_vector_abs_sum(paddle::real*, paddle::real*, int)':
/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu:324:21: error: comparison of constant '34' with boolean expression is always false [-Werror=bool-compare]
} while (isNotReady == cudaErrorNotReady);
^
Done processing /home/pcy/paddle/paddle/math/ExecViaCpu.h
Total errors found: 0
cc1plus: all warnings being treated as errors
CMake Error at paddle_cuda_generated_hl_cuda_aggregate.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_aggregate.cu.o
paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:523: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o] Error 1
Done processing /home/pcy/paddle/paddle/math/MathFunctions.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/MathUtils.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/Matrix.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/MemoryHandle.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/PoolAllocator.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/SIMDFunctions.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/SparseMatrix.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/SparseRowMatrix.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/Storage.h
Total errors found: 0
Done processing /home/pcy/paddle/paddle/math/Vector.h
Total errors found: 0
/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration
using hppl::atomicAdd;
^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'
__SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
^
[ 48%] Built target paddle_math
CMake Error at paddle_gserver_generated_GruCompute.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_GruCompute.cu.o
paddle/gserver/CMakeFiles/paddle_gserver.dir/build.make:329: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_GruCompute.cu.o' failed
make[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_GruCompute.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration
using hppl::atomicAdd;
^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'
__SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
^
CMake Error at paddle_gserver_generated_LstmCompute.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_LstmCompute.cu.o
paddle/gserver/CMakeFiles/paddle_gserver.dir/build.make:602: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_LstmCompute.cu.o' failed
make[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_LstmCompute.cu.o] Error 1
CMakeFiles/Makefile2:519: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/all' failed
make[1]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration
using hppl::atomicAdd;
^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'
__SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
^
CMake Error at paddle_cuda_generated_hl_cuda_sparse.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sparse.cu.o
paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:1009: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sparse.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sparse.cu.o] Error 1
/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration
using hppl::atomicAdd;
^
/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'
__SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST
^
CMake Error at paddle_cuda_generated_hl_cuda_lstm.cu.o.cmake:262 (message):
Error generating file
/home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_lstm.cu.o
paddle/cuda/CMakeFiles/paddle_cuda.dir/build.make:1464: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_lstm.cu.o' failed
make[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_lstm.cu.o] Error 1
CMakeFiles/Makefile2:299: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/all' failed
make[1]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2