help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instructions for Installing BLAS and LAPACK library on Octave 5.2.0


From: Ilaya Bharathi
Subject: Re: Instructions for Installing BLAS and LAPACK library on Octave 5.2.0
Date: Tue, 29 Sep 2020 16:59:58 +0530

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 <ian.mccallion@gmail.com> wrote:
On Friday, 25 September 2020, Ilaya Bharathi <ilaya.bharathi@fcagroup.com> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]