Re: Instructions for Installing BLAS and LAPACK library on Octave 5.2.0
Nicholas Jankowski <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CABNpfR9co2YChxQNNxZCkHY34G+SBe5+8nmUKjiN58YfifwjAQ@mail.gmail.com> |
On Mon, Sep 28, 2020 at 1:46 PM Ilaya Bharathi <[email protected]> wrote: > > Is it an openblas library which enables the multithreading is inbuilt with > octave ? > > I haven't done this myself, just reading the information and this thread from Ian that seems to be the case. > If so, please clarify which dll file(librefblas.dll or libopenblas.dll ) > needs to be pasted where. If this is not the case, let me know what to do > for the multithreading to work. > > based on the file names, I would assume the librefblas.dll is the NetLib reference BLAS <http://www.netlib.org/blas/> and libopenblas.dll is the OpenBLAS that Ian mentioned. > finally, after implementing the multithreading feature. how to check it > whether it's implemented or not ? > again, I would try something like what Ian mentioned: >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.