apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.75k stars 6.8k forks source link

compile mxnet-1.9.0 on Raspberry PI 4 - aarch64 #20945

Open kevinzezel opened 2 years ago

kevinzezel commented 2 years ago

Hi,

I am trying to compile mxnet-1.9.0 on my raspberry PI 4, and i got this error.

add_subdirectory given source
  "/home/pi/mxnet-1.9.0/3rdparty/googletest/googletest" which is not an
  existing directory.

OBS. I compiled 2.0.0 version successfully following this steps https://qengineering.eu/install-mxnet-on-raspberry-pi-4.html, but version 1.9.0 does not.

pi@raspberrypi:~/mxnet-1.9.0/build $ cmake -DUSE_SSE=OFF \
        -DUSE_F16C=OFF \
        -DUSE_CUDA=OFF \
        -DUSE_OPENCV=ON \
        -DUSE_OPENMP=ON \
        -DUSE_MKL_IF_AVAILABLE=OFF \
        -DUSE_SIGNAL_HANDLER=ON \
        -Dmxnet_LINKER_LIBS=-latomic \
        -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR aarch64
-- CMAKE_SYSTEM_PROCESSOR aarch64
-- CMAKE_SYSTEM_NAME Linux
-- CMake version '3.18.4' using generator 'Unix Makefiles'
-- Could not find CCache. Consider installing CCache to speed up compilation.
-- Performing Test SUPPORT_CXX11
-- Performing Test SUPPORT_CXX11 - Success
-- Performing Test SUPPORT_CXX0X
-- Performing Test SUPPORT_CXX0X - Success
-- Found OpenBLAS libraries: /usr/lib/aarch64-linux-gnu/libopenblas.so
-- Found OpenBLAS include: /usr/include/aarch64-linux-gnu
-- Found OpenCV: /usr (found version "4.5.1") found components: core highgui imgproc imgcodecs 
-- OpenCV 4.5.1 found (/usr/lib/aarch64-linux-gnu/cmake/opencv4)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- Found OpenMP_C: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
USE_LAPACK is ON
CMake Error at CMakeLists.txt:522 (add_subdirectory):
  add_subdirectory given source
  "/home/pi/mxnet-1.9.0/3rdparty/googletest/googletest" which is not an
  existing directory.

-- Found GTest: gtest  
-- Configuring incomplete, errors occurred!
See also "/home/pi/mxnet-1.9.0/build/CMakeFiles/CMakeOutput.log".

Raspberry PI 4 - aarch64

github-actions[bot] commented 2 years ago

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.