Skip to content

Commit f5b6ecb

Browse files
authored
[README] add BLIS example (#413)
1 parent 730fac9 commit f5b6ecb

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,26 +321,39 @@ With Julia v1.9 or later, Ipopt and the linear solvers [MUMPS](https://mumps-sol
321321
The default BLAS and LAPACK backend is [OpenBLAS](https://github.com/OpenMathLib/OpenBLAS).
322322

323323
Using LBT, we can also switch dynamically to other BLAS backends such as Intel
324-
MKL and Apple Accelerate. Because Ipopt and the linear solvers heavily rely on
325-
BLAS and LAPACK routines, using an optimized backend for a particular platform
326-
can improve the performance.
324+
MKL, BLIS, and Apple Accelerate. Because Ipopt and the linear solvers heavily
325+
rely on BLAS and LAPACK routines, using an optimized backend for a particular
326+
platform can improve the performance.
327327

328328
### MKL
329329

330330
If you have [MKL.jl](https://github.com/JuliaLinearAlgebra/MKL.jl) installed,
331331
switch to MKL by adding `using MKL` to your code:
332332

333333
```julia
334-
using MKL # Replace OpenBLAS by Intel MKL
334+
using MKL
335335
using Ipopt
336336
```
337337

338+
### BLIS
339+
340+
If you have [BLISBLAS.jl](https://github.com/JuliaLinearAlgebra/BLISBLAS.jl)
341+
installed, switch to BLIS by adding `using BLISBLAS` to your code:
342+
343+
```julia
344+
using BLISBLAS
345+
using Ipopt
346+
```
347+
348+
Note that this will replace OpenBLAS's BLAS functionality by BLIS. OpenBLAS will
349+
still be used for LAPACK functionality.
350+
338351
### AppleAccelerate
339352

340353
If you are using macOS ≥ v13.4 and you have [AppleAccelerate.jl](https://github.com/JuliaLinearAlgebra/AppleAccelerate.jl) installed, add `using AppleAccelerate` to your code:
341354

342355
```julia
343-
using AppleAccelerate # Replace OpenBLAS by Apple Accelerate
356+
using AppleAccelerate
344357
using Ipopt
345358
```
346359

0 commit comments

Comments
 (0)