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

Building the docker for rendering paddlepaddle.org fails. #7459

Closed
kavyasrinet opened this issue Jan 11, 2018 · 2 comments
Closed

Building the docker for rendering paddlepaddle.org fails. #7459

kavyasrinet opened this issue Jan 11, 2018 · 2 comments
Assignees

Comments

@kavyasrinet
Copy link

kavyasrinet commented Jan 11, 2018

The steps followed were:

  1. Pull the latest docker image: docker pull paddlepaddle/PaddlePaddle.org:latest
  2. Run the docker image to render the website: docker run -it -v pwd:/var/content -p 8000:8000 paddlepaddle/paddlepaddle.org:latest

The following error shows up every time and prevents it from rendering the operators, executor and fluid:

[100%] Building CXX object paddle/pybind/CMakeFiles/print_operators_doc.dir/print_operators_doc.cc.o
[100%] Linking CXX executable print_operators_doc
../../third_party/install/openblas/lib/libopenblas.a(setparam_OPTERON.o):(.data.rel+0x6a8): undefined reference to `ctrsm_ilnncopy_OPTERON'
collect2: error: ld returned 1 exit status
paddle/pybind/CMakeFiles/print_operators_doc.dir/build.make:283: recipe for target 'paddle/pybind/print_operators_doc' failed
make[3]: *** [paddle/pybind/print_operators_doc] Error 1
CMakeFiles/Makefile2:21096: recipe for target 'paddle/pybind/CMakeFiles/print_operators_doc.dir/all' failed
make[2]: *** [paddle/pybind/CMakeFiles/print_operators_doc.dir/all] Error 2
CMakeFiles/Makefile2:21108: recipe for target 'paddle/pybind/CMakeFiles/print_operators_doc.dir/rule' failed
make[1]: *** [paddle/pybind/CMakeFiles/print_operators_doc.dir/rule] Error 2
Makefile:4329: recipe for target 'print_operators_doc' failed
make: *** [print_operators_doc] Error 2

The above error shows up at the step : make -j 8 paddle_docs print_operators_doc

@luotao1
Copy link
Contributor

luotao1 commented Jan 12, 2018

You can try the command:

cmake .. \
-DWITH_DOC=ON \
-DWITH_GPU=OFF \
-DWITH_AVX=${WITH_AVX:-ON} \
-DWITH_SWIG_PY=ON \
-DWITH_STYLE_CHECK=OFF
make -j `nproc` gen_proto_py
make -j `nproc` paddle_python
make -j `nproc` paddle_docs paddle_docs_cn
make -j `nproc` print_operators_doc

@luotao1
Copy link
Contributor

luotao1 commented Jan 12, 2018

Maybe we should update write_docs_en.rst and write_docs_cn.rst.

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