Update Dockerfile for develop branch#1169
Merged
gangliao merged 6 commits intoPaddlePaddle:developfrom Jan 18, 2017
Merged
Conversation
Contributor
Author
|
还差gfortran |
wen-bo-yang
reviewed
Jan 17, 2017
| sudo apt-get update | ||
| sudo apt-get install -y g++ make cmake build-essential python python-pip libpython-dev git | ||
| sudo pip install wheel numpy | ||
| sudo apt-get install -y g++ make cmake build-essential python python-pip python-numpy libpython-dev git |
Contributor
There was a problem hiding this comment.
- 是否在源码编译文档中,去除对cmake用apt-get的方式进行安装,避免用户使用apt-get安装cmake后,在编译Paddle时仍然报错。
- 是否需要加入对cmake 3.0安装的文档。
wen-bo-yang
approved these changes
Jan 17, 2017
wangkuiyi
approved these changes
Jan 17, 2017
|
|
||
| - **Compiler**: GCC >= 4.8 or Clang >= 3.3 (AppleClang >= 5.1) | ||
| - **CMake**: version >= 3.0 (at least CMake 3.4 on Mac OS X) | ||
| - **Compiler**: GCC >= 4.8 or Clang >= 3.3 (AppleClang >= 5.1) and gfortran compiler |
Contributor
Author
There was a problem hiding this comment.
主要原因是因为Paddle依赖于代数库BLAS,如果自动编译类似Openblas一类的依赖,需要gfortran来编译Lapack, 由于历史原因,Lapack应该是fortran写的。
| - **Compiler**: GCC >= 4.8 or Clang >= 3.3 (AppleClang >= 5.1) and gfortran compiler | ||
| - **CMake**: CMake >= 3.0 (at least CMake 3.4 on Mac OS X) | ||
| - **BLAS**: MKL, OpenBlas or ATLAS | ||
| - **Python**: only support Python 2.7 |
Contributor
Author
There was a problem hiding this comment.
@reyoung 这个于洋回答一下啊,能不能做到兼容python 2.7 和python3.x
Contributor
Author
|
Docker with the latest source code works now |
Contributor
Author
lizexu123
pushed a commit
to lizexu123/Paddle
that referenced
this pull request
Feb 23, 2024
zhangyuqin1998
pushed a commit
to zhangyuqin1998/Paddle
that referenced
this pull request
Feb 20, 2025
Co-authored-by: isaacw <isaacw@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.