Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-API build failed on cuda8+cudnn7 #8078

Closed
Yancey1989 opened this issue Feb 2, 2018 · 3 comments
Closed

C-API build failed on cuda8+cudnn7 #8078

Yancey1989 opened this issue Feb 2, 2018 · 3 comments

Comments

@Yancey1989
Copy link
Contributor

https://paddleci.ngrok.io/viewLog.html?buildId=26932&buildTypeId=Manylinux1_Cuda8cudnn7cp27cp27mu&tab=buildLog

[19:06:03]	In file included from /paddle/paddle/cuda/include/hl_gpu.h:29:0,
[19:06:03]	from /paddle/paddle/utils/Util.h:34,
[19:06:03]	from /paddle/paddle/utils/ThreadLocal.h:25,
[19:06:03]	from /paddle/paddle/math/Matrix.h:22,
[19:06:03]	from /paddle/paddle/gserver/dataproviders/DataProvider.h:28,
[19:06:03]	from /paddle/paddle/gserver/gradientmachines/GradientMachine.h:22,
[19:06:03]	from /paddle/paddle/capi/capi_private.h:16,
[19:06:03]	from /paddle/paddle/capi/Arguments.cpp:16:
[19:06:03]	/paddle/paddle/cuda/include/hl_warpctc_wrap.h:18:17: fatal error: ctc.h: No such file or directory
[19:06:03]	#include "ctc.h"
[19:06:03]	^
[19:06:03]	compilation terminated.
@Xreki
Copy link
Contributor

Xreki commented Feb 2, 2018

[19:06:03]	from /paddle/paddle/capi/Arguments.cpp:16:
[19:06:03]	/paddle/paddle/cuda/include/hl_warpctc_wrap.h:18:17: fatal error: ctc.h: No such file or directory
[19:06:03]	#include "ctc.h"
[19:06:03]	^
[19:06:03]	compilation terminated.
[19:06:03]	In file included from /paddle/paddle/cuda/include/hl_gpu.h:29:0,
.
.
.
[19:06:04]	[ 85%] Linking CXX executable test_cpu
[19:06:04]	[ 85%] Built target test_cpu
[19:06:04]	[ 84%] Built target benchdnn
[19:06:04]	make[2]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/gradient_machine.cpp.o] Error 1
[19:06:04]	make[2]: *** Waiting for unfinished jobs....
[19:06:04]	make[2]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/Arguments.cpp.o] Error 1
[19:06:04]	make[2]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/Main.cpp.o] Error 1
[19:06:04]	make[2]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/Matrix.cpp.o] Error 1
[19:06:04]	make[2]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/Vector.cpp.o] Error 1
[19:06:04]	make[1]: *** [paddle/capi/CMakeFiles/paddle_capi.dir/all] Error 2
[19:06:04]	make[1]: *** Waiting for unfinished jobs....
.
.
.
[19:06:16]	Scanning dependencies of target test_gpu
[19:06:16]	[100%] Linking CXX executable test_gpu
[19:06:16]	[100%] Built target test_gpu
[19:06:16]	[ 12%] Performing install step for 'extern_warpctc'
[19:06:16]	-- cuda found TRUE
[19:06:16]	-- Torch found
[19:06:16]	-- Building shared library with GPU support
[19:06:16]	-- Configuring done
[19:06:16]	-- Generating done
[19:06:16]	-- Build files have been written to: /paddle/build/third_party/warpctc/src/extern_warpctc-build
[19:06:16]	[ 14%] Linking CXX shared library libwarpctc.so
[19:06:16]	[ 42%] Built target warpctc
[19:06:16]	[ 57%] Linking CXX executable test_cpu
[19:06:16]	[ 71%] Linking CXX executable test_gpu
[19:06:16]	[ 85%] Built target test_cpu
[19:06:16]	[100%] Built target test_gpu
[19:06:16]	Install the project...
[19:06:16]	-- Install configuration: "Release"
[19:06:16]	-- Installing: /paddle/build/third_party/install/warpctc/lib/libwarpctc.so
[19:06:16]	-- Installing: /paddle/build/third_party/install/warpctc/include/ctc.h
[19:06:16]	[ 12%] Completed 'extern_warpctc'
[19:06:16]	[ 12%] Built target extern_warpctc
[19:06:16]	make: *** [all] Error 2
[19:06:17]	Process exited with code 2
[19:06:17]	Process exited with code 2
[19:06:17]	Step C_API (Command Line) failed

像是依赖出了问题,warp-ctc里面还没下载、安装完,就编译使用warp-ctc的代码了。

@luotao1
Copy link
Contributor

luotao1 commented Feb 2, 2018

#8076 出现的问题一样,make clean后,teamcity也报同样的错误。https://paddleci.ngrok.io/viewLog.html?buildId=27047&buildTypeId=Paddle_PrCi&tab=buildLog

#8076 最先出现错误的是boost,不是warpctc

[14:23:39]	CMakeFiles/extern_boost.dir/build.make:88: recipe for target 'third_party/boost/src/extern_boost-stamp/extern_boost-download' failed
[14:23:39]	CMakeFiles/Makefile2:653: recipe for target 'CMakeFiles/extern_boost.dir/all' failed
[14:23:39]	make[2]: *** [third_party/boost/src/extern_boost-stamp/extern_boost-download] Error 8
[14:23:39]	make[1]: *** [CMakeFiles/extern_boost.dir/all] Error 2
[14:23:39]	make[1]: *** Waiting for unfinished jobs....

@shanyi15
Copy link
Collaborator

您好,此issue在近一个月内暂无更新,我们将于今天内关闭。若在关闭后您仍需跟进提问,可重新开启此问题,我们将在24小时内回复您。因关闭带来的不便我们深表歉意,请您谅解~感谢您对PaddlePaddle的支持!
Hello, this issue has not been updated in the past month. We will close it today for the sake of other user‘s experience. If you still need to follow up on this question after closing, please feel free to reopen it. In that case, we will get back to you within 24 hours. We apologize for the inconvenience caused by the closure and thank you so much for your support of PaddlePaddle Group!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants