Skip to content

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

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 11月 27, 2016 by saxon_zh@saxon_zhGuest

compilation error on centos 7.2 (both with and without GPU support)

Created by: jimdowling

  • How to reproduce: export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH export PATH=/usr/local/cuda/bin:$PATH cmake .. -DWITH_GPU=ON -DWITH_DOC=OFF

The problem is this line on 32 of cmake/cudnn.make: get_filename_component(CUDNN_LIB_PATH ${CUDNN_LIBRARY} DIRECTORY) The DIRECTORY variable is not defined.

I have installed cuda 8.0 in /usr/local/cuda. Cudnn version 5.1 is also installed there.

Here's my output. It's the same if i switch off GPU support.

  • Output

-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7") -- Found PythonInterp: /bin/python2.7 (found suitable version "2.7.5", minimum required is "2.7") -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Found installed version of gflags: /lib64/cmake/gflags -- Detected broken gflags install in: /lib64/cmake/gflags, version: 2.1.1 <= 2.1.2 which defines gflags_LIBRARIES = gflags which is not an imported CMake target, see: https://github.com/gflags/gflags/issues/110. Attempting to fix by detecting correct gflags target. -- Found valid gflags target: gflags-shared, updating gflags_LIBRARIES. -- Detected gflags version: 2.1.1 -- Failed to find gflags - Could not find file: //include/gflags/gflags.h containing namespace information in gflags install located at: //include. -- Failed to find gflags - Failed to determine gflags namespace using regex for gflags version: 2.1.1 exported here: /lib64/cmake/gflags using CMake. -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found OpenBlas (include: /usr/include/openblas, library: /usr/lib64/libopenblas.so) CMake Error at cmake/cudnn.cmake:32 (get_filename_component): get_filename_component unknown component DIRECTORY Call Stack (most recent call first): CMakeLists.txt:60 (include)

-- Current cuDNN header is /usr/local/cuda/include/cudnn.h. Current cuDNN version is v5. -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.6") -- Found PythonInterp: /bin/python2.7 (found version "2.7.5") -- DROP LINT dataproviders/MultiDataProvider.cpp -- DROP LINT dataproviders/MultiDataProvider.h -- Configuring incomplete, errors occurred!

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#635
渝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