# Blas version on MacOS 

**URL:** <https://discourse.julialang.org/t/blas-version-on-macos/11468>\
**Category:** Internals & Design\
**Created:** [June 6, 2018, 12:36pm UTC](https://discourse.julialang.org/t/blas-version-on-macos/11468 "2018-06-06T12:36:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcrbloch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jcrbloch/32/4396_2.png) [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Post date:** [June 6, 2018, 12:36pm UTC](https://discourse.julialang.org/t/blas-version-on-macos/11468/1 "2018-06-06T12:36:15Z")

</div>

Does anyone knows if julia is using the optimized Blas library provided by MacOS, which is linked by using the accelerate framework.

A call to versioninfo() tells me that libopenblas is used, which is probably not the most efficient one.

Does anyone knows more about this?

---

<div class="post-metadata">

**Author:** ![pablosanjose](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pablosanjose/32/7006_2.png) [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Post date:** [June 6, 2018, 2:07pm UTC](https://discourse.julialang.org/t/blas-version-on-macos/11468/2 "2018-06-06T14:07:20Z")

</div>

Not by default, it’s using OpenBLAS. In the README, it tells us how to build using the Apple BLAS library:

“If you see build failures in OpenBLAS or if you prefer to experiment, you can use the Apple provided BLAS in vecLib by building with USE\_SYSTEM\_BLAS=1. Julia does not use the Apple provided LAPACK, as it is too old.”

I’ve never tried it. It would be nice to know how they compare. Note that the latest alpha is shipping with OpenBLAS 3.0, which supposedly fixes some performance issues on the mac, or so I’ve heard.

---

<div class="post-metadata">

**Author:** ![dlfivefifty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlfivefifty/32/1959_2.png) [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Post date:** [June 7, 2018, 1:33pm UTC](https://discourse.julialang.org/t/blas-version-on-macos/11468/3 "2018-06-07T13:33:49Z")

</div>

I use macs system BLAS. It’s as much as 2x faster, depending on the task, so definitely worth compiling for.
