Re: Instructions for Installing BLAS and LAPACK library on Octave 5.2.0
Ilaya Bharathi <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAGZhkuhLbL8wGYA5t4ysKnxQhfymrs03ZZh8JzWkhT8x-SMmOw@mail.gmail.com> |
Hi Ian, Thanks for your reply. I use the zip file rather than the executable file for octave. Maybe I need to try the Octave exe file for the multithreading purpose as you suggested. As far as I understand, I'm gonna proceed with the following. Kindly advise if I need to make any changes. - Downloading Octave 5.2.0-64 bit executable from the official GNU Octave website( https://www.gnu.org/software/octave/download.html#ms-windows) for Win 10 - Installing the same and checking with the default OPENBLAS library. - Assigning the value for the environment variable OPENBLAS_NUM_THREADS = "the number of processors we need to utilize" Thanks for your time and for the information provided. Have a great day. best regards Ilaya bharathi On Fri, Sep 25, 2020 at 8:29 PM Ian McCallion <[email protected]> wrote: > 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 >