{"action":"created","issue":{"url":"https://api.github.com/repos/baidu/Paddle/issues/12","repository_url":"https://api.github.com/repos/baidu/Paddle","labels_url":"https://api.github.com/repos/baidu/Paddle/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/baidu/Paddle/issues/12/comments","events_url":"https://api.github.com/repos/baidu/Paddle/issues/12/events","html_url":"https://github.com/baidu/Paddle/issues/12","id":174234971,"number":12,"title":"安装失败","user":{"login":"elvinpoon","id":19640630,"avatar_url":"https://avatars.githubusercontent.com/u/19640630?v=3","gravatar_id":"","url":"https://api.github.com/users/elvinpoon","html_url":"https://github.com/elvinpoon","followers_url":"https://api.github.com/users/elvinpoon/followers","following_url":"https://api.github.com/users/elvinpoon/following{/other_user}","gists_url":"https://api.github.com/users/elvinpoon/gists{/gist_id}","starred_url":"https://api.github.com/users/elvinpoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvinpoon/subscriptions","organizations_url":"https://api.github.com/users/elvinpoon/orgs","repos_url":"https://api.github.com/users/elvinpoon/repos","events_url":"https://api.github.com/users/elvinpoon/events{/privacy}","received_events_url":"https://api.github.com/users/elvinpoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T10:10:28Z","updated_at":"2016-08-31T13:30:14Z","closed_at":null,"body":"环境：ubuntu16.04 + cuda8.0RC + cuDNN5.1.5\r\n```\r\nCMake Error at paddle_cuda_generated_hl_table_apply.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_table_apply.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_table_apply.cu.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\nDone processing /home/pcy/paddle/paddle/math/Vector.cpp\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/Allocator.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/BaseMatrix.h\r\nTotal errors found: 0\r\n/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration\r\n using hppl::atomicAdd;\r\n             ^\r\n/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'\r\n __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST\r\n                                              ^\r\nDone processing /home/pcy/paddle/paddle/math/Bits.h\r\nTotal errors found: 0\r\nCMake Error at paddle_cuda_generated_hl_cuda_sequence.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sequence.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sequence.cu.o] Error 1\r\nDone processing /home/pcy/paddle/paddle/math/CpuSparseMatrix.h\r\nTotal errors found: 0\r\n/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function 'void hl_vector_sum(paddle::real*, paddle::real*, int)':\r\n/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]\r\n   } while (isNotReady == cudaErrorNotReady);\r\n                     ^\r\n/home/pcy/paddle/paddle/cuda/src/hl_cuda_aggregate.cu: In function 'void hl_vector_abs_sum(paddle::real*, paddle::real*, int)':\r\n/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]\r\n   } while (isNotReady == cudaErrorNotReady);\r\n                     ^\r\nDone processing /home/pcy/paddle/paddle/math/ExecViaCpu.h\r\nTotal errors found: 0\r\ncc1plus: all warnings being treated as errors\r\nCMake Error at paddle_cuda_generated_hl_cuda_aggregate.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_aggregate.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_aggregate.cu.o] Error 1\r\nDone processing /home/pcy/paddle/paddle/math/MathFunctions.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/MathUtils.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/Matrix.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/MemoryHandle.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/PoolAllocator.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/SIMDFunctions.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/SparseMatrix.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/SparseRowMatrix.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/Storage.h\r\nTotal errors found: 0\r\nDone processing /home/pcy/paddle/paddle/math/Vector.h\r\nTotal errors found: 0\r\n/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration\r\n using hppl::atomicAdd;\r\n             ^\r\n/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'\r\n __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST\r\n                                              ^\r\n[ 48%] Built target paddle_math\r\nCMake Error at paddle_gserver_generated_GruCompute.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_GruCompute.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_GruCompute.cu.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\n/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration\r\n using hppl::atomicAdd;\r\n             ^\r\n/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'\r\n __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST\r\n                                              ^\r\nCMake Error at paddle_gserver_generated_LstmCompute.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/./paddle_gserver_generated_LstmCompute.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/layers/paddle_gserver_generated_LstmCompute.cu.o] Error 1\r\nCMakeFiles/Makefile2:519: recipe for target 'paddle/gserver/CMakeFiles/paddle_gserver.dir/all' failed\r\nmake[1]: *** [paddle/gserver/CMakeFiles/paddle_gserver.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration\r\n using hppl::atomicAdd;\r\n             ^\r\n/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'\r\n __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST\r\n                                              ^\r\nCMake Error at paddle_cuda_generated_hl_cuda_sparse.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_sparse.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_sparse.cu.o] Error 1\r\n/home/pcy/paddle/paddle/cuda/include/hl_device_functions.cuh:39:13: error: 'double hppl::atomicAdd(double*, double)' conflicts with a previous declaration\r\n using hppl::atomicAdd;\r\n             ^\r\n/usr/local/cuda/include/sm_60_atomic_functions.h:308:46: note: previous declaration 'double atomicAdd(double*, double)'\r\n __SM_60_ATOMIC_FUNCTIONS_DECL__ double atomicAdd(double *address, double val) __DEF_IF_HOST\r\n                                              ^\r\nCMake Error at paddle_cuda_generated_hl_cuda_lstm.cu.o.cmake:262 (message):\r\n  Error generating file\r\n  /home/pcy/paddle/paddle/cuda/CMakeFiles/paddle_cuda.dir/src/./paddle_cuda_generated_hl_cuda_lstm.cu.o\r\n\r\n\r\npaddle/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\r\nmake[2]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/src/paddle_cuda_generated_hl_cuda_lstm.cu.o] Error 1\r\nCMakeFiles/Makefile2:299: recipe for target 'paddle/cuda/CMakeFiles/paddle_cuda.dir/all' failed\r\nmake[1]: *** [paddle/cuda/CMakeFiles/paddle_cuda.dir/all] Error 2\r\nMakefile:149: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/baidu/Paddle/issues/comments/243764123","html_url":"https://github.com/baidu/Paddle/issues/12#issuecomment-243764123","issue_url":"https://api.github.com/repos/baidu/Paddle/issues/12","id":243764123,"user":{"login":"reyoung","id":728699,"avatar_url":"https://avatars.githubusercontent.com/u/728699?v=3","gravatar_id":"","url":"https://api.github.com/users/reyoung","html_url":"https://github.com/reyoung","followers_url":"https://api.github.com/users/reyoung/followers","following_url":"https://api.github.com/users/reyoung/following{/other_user}","gists_url":"https://api.github.com/users/reyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/reyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyoung/subscriptions","organizations_url":"https://api.github.com/users/reyoung/orgs","repos_url":"https://api.github.com/users/reyoung/repos","events_url":"https://api.github.com/users/reyoung/events{/privacy}","received_events_url":"https://api.github.com/users/reyoung/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T13:30:14Z","updated_at":"2016-08-31T13:30:14Z","body":"This issue is duplicated, please see #3 for the progress of supporting cuda 8.0"}}
{"actor":{"display_login":"reyoung"}}