Score
0
Watch 340 Star 731 Fork 539

GVPMindSpore / mindsporePythonApache-2.0

Building failure when using official docker image on Mac OS

Bug-Report
TODO
chenyan107  Opened this issue

Environment

  • Hardware Environment(CPU):

  • Software Environment:
    -- MindSpore release version
    -- Mac OS, docker image mindspore/mindspore-cpu:0.1.0-alpha

Describe the current behavior

building failure

Steps to reproduce the issue

  1. docker pull mindspore/mindspore-cpu:0.1.0-alpha
  2. git clone https://gitee.com/mindspore/mindspore.git -b r0.1
  3. bash build.sh -e cpu -z -j

Related log / screenshot

c++: internal compiler error: Killed (program cc1plus) src/cpu/CMakeFiles/dnnl_cpu.dir/build.make:114: recipe for target 'src/cpu/CMakeFiles/dnnl_cpu.dir/cpu_engine.cpp.o' failed Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. make[2]: *** [src/cpu/CMakeFiles/dnnl_cpu.dir/cpu_engine.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:323: recipe for target 'src/cpu/CMakeFiles/dnnl_cpu.dir/all' failed make[1]: *** [src/cpu/CMakeFiles/dnnl_cpu.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 CMake Error at cmake/utils.cmake:141 (message): error! when /usr/bin/cmake;--build;.;--target;install;--;-j8 in /home/mindspore/build/mindspore/_deps/mkl_dnn-src/_build Call Stack (most recent call first): cmake/utils.cmake:290 (__exec_cmd) cmake/external_libs/mkl_dnn.cmake:3 (mindspore_add_pkg) cmake/mind_expression.cmake:24 (include) CMakeLists.txt:17 (include)

Special notes for this issue

5518576 mindspore ci 1587902139 5554527 leonwanghui 1587095303 total 3 participants

Comments (4)

5518576 mindspore ci 1587902139
mindspore-ci-bot 2020-03-31 23:50 member

Hey @chenyan107 , Welcome to MindSpore Community.
All of the projects in MindSpore Community are maintained by @mindspore-ci-bot .
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/mindspore/community/blob/master/command.md to find the details.

5554527 leonwanghui 1587095303
leonwanghui 2020-04-01 08:48 member

Hello, it's unnecessary to download the source code any more if you have pulled docker image from Dockerhub, instead you can directly run the container with the command below:

docker run -it mindspore/mindspore-cpu:0.1.0-alpha /bin/bash
python -c 'import mindspore'
chenyan107 2020-04-01 09:46

Thanks, but I'd like to rebuild it for development purpose.

Hello, it's unnecessary to download the source code any more if you have pulled docker image from Dockerhub, instead you can directly run the container with the command below:

docker run -it mindspore/mindspore-cpu:0.1.0-alpha /bin/bash
python -c 'import mindspore'

@leonwanghui

5554527 leonwanghui 1587095303
leonwanghui 2020-04-01 11:10 member

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

Help Search

182353 aa51c838 1899542 205747 347fc4a1 1899542