Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #6167

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 12月 01, 2017 by saxon_zh@saxon_zhGuest

编译C_API时遇到问题, cmake 不能通过

Created by: zhipengli0524

cmake 选项 cmake .. -DWITH_GPU=OFF -DCMAKE_INSTALL_PREFIX=/home/lizhipeng/tools/paddlei.c_api -DWITH_C_API=ON -DWITH_PYTHON=OFF -DWITH_SWIG=OFF

错误信息: 错误信息: -- Found Paddle host system: centos, version: 6.3 -- Found Paddle host system's CPU: 8 cores -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) Boost found. -- Do not have AVX2 intrinsics and disabled MKL-DNN -- Protobuf protoc executable: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/protobuf/bin/protoc -- Protobuf library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/protobuf/lib/libprotobuf.a -- Protobuf version: 3.1 -- Found cblas and lapack in MKLML (include: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/include, library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so) -- BLAS library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so -- warp-ctc library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/warpctc/lib/libwarpctc.so -- Enable Intel OpenMP with /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libiomp5.so -- Paddle version is 0.10.0 -- Skip compiling with MKLDNNMatrix -- Skip compiling with MKLDNNLayers and MKLDNNActivations -- generating grpc send_recv.proto -- Configuring done -- Generating done -- Build files have been written to: /home/lizhipeng/tools/paddle.c_api/Paddle/build (paddle.c_api) [lizhipeng@cp01-lizhipeng02-linux build]$ ls CMakeCache.txt CPackConfig.cmake Makefile cmake_command.sh paddle third_party CMakeFiles CPackSourceConfig.cmake cblas_dummy.c cmake_install.cmake proto (paddle.c_api) [lizhipeng@cp01-lizhipeng02-linux build]$ mv cmake_command.sh ../ (paddle.c_api) [lizhipeng@cp01-lizhipeng02-linux build]$ rm -rf * (paddle.c_api) [lizhipeng@cp01-lizhipeng02-linux build]$ mv ../cmake_command.sh ./ (paddle.c_api) [lizhipeng@cp01-lizhipeng02-linux build]$ sh cmake_command.sh -- Found Paddle host system: centos, version: 6.3 -- Found Paddle host system's CPU: 8 cores -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- The Golang compiler identification is go1.1.2 linux/amd64 -- Check for working Golang compiler: /usr/bin/go -- Check for working CXX compiler: /opt/compiler/gcc-4.8.2/bin/g++ -- Check for working CXX compiler: /opt/compiler/gcc-4.8.2/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /opt/compiler/gcc-4.8.2/bin/gcc -- Check for working C compiler: /opt/compiler/gcc-4.8.2/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Found Git: /usr/bin/git (found version "1.7.1") -- 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 Boost found. -- Performing Test MMX_FOUND -- Performing Test MMX_FOUND - Success -- Performing Test SSE2_FOUND -- Performing Test SSE2_FOUND - Success -- Performing Test SSE3_FOUND -- Performing Test SSE3_FOUND - Success -- Performing Test AVX_FOUND -- Performing Test AVX_FOUND - Success -- Performing Test AVX2_FOUND -- Performing Test AVX2_FOUND - Failed -- Do not have AVX2 intrinsics and disabled MKL-DNN -- Protobuf protoc executable: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/protobuf/bin/protoc -- Protobuf library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/protobuf/lib/libprotobuf.a -- Protobuf version: 3.1 -- Found cblas and lapack in MKLML (include: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/include, library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so) -- BLAS library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libmklml_intel.so -- Found SWIG: /home/lizhipeng/local_install/bin/swig (found version "3.0.12") -- warp-ctc library: /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/warpctc/lib/libwarpctc.so -- Enable Intel OpenMP with /home/lizhipeng/tools/paddle.c_api/Paddle/build/third_party/install/mklml/mklml_lnx_2018.0.1.20171007/lib/libiomp5.so -- Looking for UINT64_MAX -- Looking for UINT64_MAX - not found -- Looking for UINT64_MAX -- Looking for UINT64_MAX - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of pthread_spinlock_t -- Check size of pthread_spinlock_t - done -- Check size of pthread_barrier_t -- Check size of pthread_barrier_t - done -- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC -- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC -- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer -- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer -- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wall -- Performing Test C_COMPILER_SUPPORT_FLAG__Wall - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra -- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Werror -- Performing Test C_COMPILER_SUPPORT_FLAG__Werror - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor -- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Failed -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor -- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Failed -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_sign_compare - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Failed -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Failed -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Failed -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate -- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Failed -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function - Success -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds -- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds - Success -- Paddle version is 0.10.0 -- Skip compiling with MKLDNNMatrix -- Skip compiling with MKLDNNLayers and MKLDNNActivations -- generating grpc send_recv.proto CMake Error at /home/lizhipeng/local_install/share/cmake-3.6/Modules/ExternalProject.cmake:1083 (file): file problem creating directory: /pip/src/pip-stamp Call Stack (most recent call first): /home/lizhipeng/local_install/share/cmake-3.6/Modules/ExternalProject.cmake:2425 (_ep_set_directories) paddle/api/CMakeLists.txt:96 (ExternalProject_Add)

CMake Error at /home/lizhipeng/local_install/share/cmake-3.6/Modules/ExternalProject.cmake:1085 (message): dir '/pip/src/pip-stamp' does not exist after file(MAKE_DIRECTORY) Call Stack (most recent call first): /home/lizhipeng/local_install/share/cmake-3.6/Modules/ExternalProject.cmake:2425 (_ep_set_directories) paddle/api/CMakeLists.txt:96 (ExternalProject_Add)

-- Configuring incomplete, errors occurred! See also "/home/lizhipeng/tools/paddle.c_api/Paddle/build/CMakeFiles/CMakeOutput.log". See also "/home/lizhipeng/tools/paddle.c_api/Paddle/build/CMakeFiles/CMakeError.log".

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#6167
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7