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

fail download mklml #3758

Closed
luotao1 opened this issue Aug 30, 2017 · 0 comments · Fixed by #3761
Closed

fail download mklml #3758

luotao1 opened this issue Aug 30, 2017 · 0 comments · Fixed by #3761
Assignees

Comments

@luotao1
Copy link
Contributor

luotao1 commented Aug 30, 2017

使用最新代码 commit 31632a6 进行编译,发现mklml包下载不了。

[  3%] Performing download step for 'extern_mklml'

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[2]: *** [third_party/mklml/src/extern_mklml-stamp/extern_mklml-download] Error 2
make[1]: *** [CMakeFiles/extern_mklml.dir/all] Error 2
make: *** [all] Error 2

使用mklml.cmake中的DOWNLOAD_COMMAND(wget --no-check-certificate -qO- ${MKLML_URL})手动下载,并去掉-q开关:

wget --no-check-certificate -O https://github.com/01org/mkl-dnn/releases/download/v0.10/mklml_lnx_2018.0.20170720.tgz

错误是File name too long,即输出的文件名过长

因此改成wget --no-check-certificate ${MKLML_URL} -c -O ${MKLML_VER}.tgz即可。

  • 由于这个包比较特殊,建议去掉-q打开log日志来观察下载情况 @wangkuiyi
  • 建议加上-c断点续传功能,以防突然断网。
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

Successfully merging a pull request may close this issue.

3 participants