# Convert a Current Installation of Julia to Use \`BlasInt = \`Int32\`

**URL:** <https://discourse.julialang.org/t/convert-a-current-installation-of-julia-to-use-blasint-int32/67915>\
**Category:** General Usage\
**Tags:** performance, blas, linearalgebra, sparse\
**Created:** [September 9, 2021, 7:58am UTC](https://discourse.julialang.org/t/convert-a-current-installation-of-julia-to-use-blasint-int32/67915 "2021-09-09T07:58:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoyiAvital](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/royiavital/32/571_2.png) [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Post date:** [September 9, 2021, 7:58am UTC](https://discourse.julialang.org/t/convert-a-current-installation-of-julia-to-use-blasint-int32/67915/1 "2021-09-09T07:58:51Z")

</div>

Looking at my Julia installation (Using [`JuliaWin`](https://github.com/heetbeet/juliawin) version `Juliawin v1.6.2-0 on 2021-07-22`) I can see that `LinearAlgebra.BlasInt = Int64`.

This means that any index to array takes `64 Bit`.  
I was wondering, can I make it `Int32` on my system?  
Moreover, I’d like it will affect `OpenBLAS`, `MKL`, `MKLSparse` (Namely use `LP64` API and not `ILP64`), `SparseSuite` and the construction of Sparse Arrays (Namely `sparse()` and all the rest will generate `SparseMatrixCSC{T, Int32}` by default).  
The idea is to have everything coherent so nothing will be converted on calls to `OpenBLAS` / `MKL` / `MKLSparse`, etc…

I don’t intend to deal with matrices which have more then `2 ^ 31` rows or columns hence I’d rather the throughput advantage of using 32 Bit for indexing.

Is there a way to do so?  
Will it be easier to do so in Julia `1.7.x` and farther?
