Hardware Environment(CPU
):
Software Environment:
-- MindSpore release version
-- Mac OS, docker image mindspore/mindspore-cpu:0.1.0-alpha
building failure
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)
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.
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'
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'
If so, please check out https://gitee.com/mindspore/mindspore/tree/master/docker for details
sorry, it its not support to build in macos.
Sign in to comment