You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/23 03:07:19 UTC

[GitHub] [incubator-mxnet] CoinCheung opened a new issue #16587: How could I set the location of openblas/lapack when I compile mxnet from source?

CoinCheung opened a new issue #16587: How could I set the location of openblas/lapack when I compile mxnet from source?
URL: https://github.com/apache/incubator-mxnet/issues/16587
 
 
   Hi, 
   
   I installed openblas and lapack to /opt/openblas and /opt/lapack. When I compile mxnet from source I use this: 
   ```
   mkdir -p build
   cmake .. -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_MODULE_PATH=/opt/openblas/lib/cmake/openblas
   ```
   Then I got the error: 
   -- Intel(R) MKL: lib /root/build/incubator-mxnet/build/mklml/mklml_lnx_2019.0.5.20190502/lib/libmklml_intel.so
   -- Found OpenMP_C: -fopenmp (found version "4.0") 
   -- Found OpenMP_CXX: -fopenmp (found version "4.0") 
   -- Found OpenMP: TRUE (found version "4.0")  
   -- OpenMP lib: /root/build/incubator-mxnet/build/mklml/mklml_lnx_2019.0.5.20190502/lib/libiomp5.so
   -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
   -- VTune profiling environment is unset
   -- Found Git: /usr/bin/git (found version "2.7.4") 
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE  
   -- Found CUDA: /usr/local/cuda (found version "10.0") 
   -- Found NVTX: /usr/local/cuda/include  
   -- Found NVTX (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libnvToolsExt.so)
   -- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_RT_LIBRARY) 
   -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
   -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
   CMake Error at cmake/Modules/FindOpenBLAS.cmake:82 (MESSAGE):
     Could not find OpenBLAS
   Call Stack (most recent call first):
     cmake/ChooseBlas.cmake:42 (find_package)
     CMakeLists.txt:333 (include)
   
   
   -- Configuring incomplete, errors occurred!
   See also "/root/build/incubator-mxnet/build/CMakeFiles/CMakeOutput.log".
   See also "/root/build/incubator-mxnet/build/CMakeFiles/CMakeError.log".
   
   
   How could I let cmake find my openblas ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services