szha opened a new issue #17017: USE_BLAS=apple broken on OSX 10.15
URL: https://github.com/apache/incubator-mxnet/issues/17017
 
 
   ## Description
   Starting from 10.15, Accelerate/vecLib frameworks are not shipped by default 
([macOS frameworks are now thinned for the x86-64 
architecture](https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes)),
 and the users need to install macOS SDK separately.
   
   ### Error Message
   cblas.h not found
   
   ## To Reproduce
   on OSX 10.15, `make USE_BLAS=apple`
   
   ## What have you tried to solve it?
   
   1. solved by installing SDK for macOS 10.15 and updating 
https://github.com/apache/incubator-mxnet/blob/master/3rdparty/mshadow/make/mshadow.mk#L124
   to
   ```
        MSHADOW_CFLAGS += 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/
   ```
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run 
the following command and paste the outputs below:
   ```
   curl --retry 10 -s 
https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | 
python
   
   # paste outputs here
   ----------Python Info----------
   ('Version      :', '2.7.16')
   ('Compiler     :', 'GCC 4.2.1 Compatible Apple LLVM 11.0.0 
(clang-1100.0.32.4) (-macos10.15-objc-s')
   ('Build        :', ('default', 'Oct 17 2019 17:14:30'))
   ('Arch         :', ('64bit', ''))
   ------------Pip Info-----------
   No corresponding pip install for current python.
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   ('Platform     :', 'Darwin-19.0.0-x86_64-i386-64bit')
   ('system       :', 'Darwin')
   ('node         :', 'a483e79ab3ab.ant.amazon.com')
   ('release      :', '19.0.0')
   ('version      :', 'Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 
2019; root:xnu-6153.41.3~29/RELEASE_X86_64')
   ----------Hardware Info----------
   ('machine      :', 'x86_64')
   ('processor    :', 'i386')
   machdep.cpu.brand_string: Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
   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 EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE 
POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
   machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET SGX BMI1 AVX2 SMEP 
BMI2 ERMS INVPCID FPU_CSDS MPX RDSEED ADX SMAP CLFSOPT IPT MDCLEAR TSXFA IBRS 
STIBP L1DF SSBD
   machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW 
RDTSCP TSCI
   ----------Network Test----------
   Setting timeout: 10
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0380 sec, LOAD: 
0.8266 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0967 sec, LOAD: 0.1057 sec.
   Timing for FashionMNIST: 
https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, 
DNS: 0.0721 sec, LOAD: 0.2089 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0322 sec, 
LOAD: 0.1277 sec.
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0006 
sec, LOAD: 0.6272 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0689 sec, LOAD: 
0.2368 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0362 sec, LOAD: 0.1082 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0006 
sec, LOAD: 0.5805 sec.
   ```
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to