sbodenstein opened a new issue #9828: Building with MKL fails on OSX
URL: https://github.com/apache/incubator-mxnet/issues/9828
 
 
   ## Description
   When building MXNet on OSX with the flag `USE_MKLDNN=1` in the `config.m` 
file, I get a build failure.
   
   ## Environment info (Required)
   
   ```
   ----------System Info----------
   Platform     : Darwin-16.7.0-x86_64-i386-64bit
   system       : Darwin
   node         : sebastianbmaclap.local
   release      : 16.7.0
   version      : Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; 
root:xnu-3789.70.16~2/RELEASE_X86_64
   ----------Hardware Info----------
   machine      : x86_64
   processor    : i386
   b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT RDTSCP TSCI'
   b'machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 HLE 
AVX2 BMI2 INVPCID RTM FPU_CSDS'
   b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE 
MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ 
DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC 
MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
   b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz'
   ```
   
   ## Build info (Required if built from source)
   
   ```
   clang --version
   Apple LLVM version 9.0.0 (clang-900.0.39.2)
   Target: x86_64-apple-darwin16.7.0
   Thread model: posix
   InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
   ```
   
   MXNet commit hash: `f33591f37da73965e50446704d6b1a73331df2c0`
   
   ## Error Message:
   ```
   In file included from src/operator/nn/mkldnn/mkldnn_pooling.cc:28:
   In file included from 
/Users/sebastianb/Software/incubator-mxnet/src/operator/nn/mkldnn/./mkldnn_pooling-inl.h:30:
   
/Users/sebastianb/Software/incubator-mxnet/3rdparty/mkldnn//install/include/mkldnn.hpp:159:17:
 error: implicit instantiation of undefined template 
'std::__1::basic_string<char, std::__1::char_traits<char>,
         std::__1::allocator<char> >'
       std::string message;
                   ^
   
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:193:32:
 note: template is declared here
       class _LIBCPP_TEMPLATE_VIS basic_string;
                                  ^
   In file included from src/operator/nn/mkldnn/mkldnn_pooling.cc:28:
   In file included from 
/Users/sebastianb/Software/incubator-mxnet/src/operator/nn/mkldnn/./mkldnn_pooling-inl.h:30:
   
/Users/sebastianb/Software/incubator-mxnet/3rdparty/mkldnn//install/include/mkldnn.hpp:169:48:
 error: implicit instantiation of undefined template 
'std::__1::basic_string<char, std::__1::char_traits<char>,
         std::__1::allocator<char> >'
       error(mkldnn_status_t astatus, std::string amessage,
   ```
   
   

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


With regards,
Apache Git Services

Reply via email to