Closed Data-drone closed 3 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.
Does it happen with a clean checkout / clean build folder?
@mxnet-label-bot add [mkl]
@Data-drone have you tried '-DUSE_BLAS=open' to compile with openblas? With reference to the MKL - where do you have the MKL-specific files/libraries (path to /mkl directory that contains: /lib && include/).
@leezu It was with a clean build clone (I was using fresh docker script to start each time)
@Data-drone, have you tried to compile with openblas using -DUSE_BLAS=open
(instead of -DUSE_BLAS=openblas
)?
I'm not sure but the error you have pasted looks like it tried to compile mxnet with MKL, but couldn't find MKL files. I can try to help you, but need more data.
@akarbown I haven't had time yet but I will hopefully get time to try later today
Okay looks like -DUSE_BLAS=open
sorted it. But I also moved to 1.9.0-rc7
as well.
My final compile options are:
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$(python -c "import sys; print(sys.prefix)") \
-DCMAKE_FIND_ROOT_PATH=${CONDA_PREFIX} \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH \
-DUSE_OPENCV=OFF \
-DUSE_LAPACK=ON \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DUSE_BLAS=open \
-DUSE_INTEL_PATH=${CONDA_PREFIX}/lib \
-DUSE_CUDA=ON \
-DUSE_CUDNN=ON \
-DUSE_OPENMP=ON \
-DUSE_TVM_OP=OFF \
-DMXNET_CUDA_ARCH="7.5" \
-DUSE_NCCL=ON \
-DUSE_SSE=ON \
.. \
&& cmake --build . --parallel 28
Description
I am trying to build mxnet source with the version:
git checkout tags/1.9.0.rc6 -b 1.9.x
I am getting
No Such file or directory
errors when I set it to useopenblas
rather thanmkl
this system has both openblas and mkl installed. This happens at themshadow
compile. this error goes away. Is there some error with the way that mshadow cmake is set so that it isn't compiling against openblas instead?Error Message
When compiling I am using the command:
When I set
-DUSE_BLAS=openblas
then I get an error with:Environment
We recommend using our script for collecting the diagnostic information with the following command