Re: Instructions for Installing BLAS and LAPACK library on Octave 5.2.0
Ian McCallion <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAFgLC_FML2em4_zu=PDOc=mt1ffy8Wmyb3Ldb9eZ0ahFXwgapQ@mail.gmail.com> |
On Friday, 25 September 2020, Ilaya Bharathi <[email protected]> wrote: > Hi team, > > I'm looking for Instructions to install libraries for multithreading > purposes on Octave 5.2.0 on the Windows 10 operating system. > > After some research, I found BLAS and LAPACK libraries would help to > implement multithreading. Unfortunately, I wasn't able to find the proper > instructions to configure the libraries I need. > The openblas library is included with your octave installation and configured for use (assuming you used the installation exe program rather than the zip file). This means if you have a program such as: a = rand(1, 1000000); b = a*a; then Octave will automatically use openBLAS to do the calculations. By default openblas uses all processor threads. You can configure the number of threads using the environment variable OPENBLAS_NUM_THREADS. Cheers Ian