octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60762] Repeatable crash on exit when OPENBLAS


From: anonymous
Subject: [Octave-bug-tracker] [bug #60762] Repeatable crash on exit when OPENBLAS_NUM_THREADS is set to 6
Date: Thu, 10 Jun 2021 14:15:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Follow-up Comment #4, bug #60762 (project octave):

I think I found the problem. Quoting from here:
https://github.com/xianyi/OpenBLAS


The priorities are OPENBLAS_NUM_THREADS > GOTO_NUM_THREADS > OMP_NUM_THREADS.

If you compile this library with USE_OPENMP=1, you should set the
OMP_NUM_THREADS environment variable; OpenBLAS ignores OPENBLAS_NUM_THREADS
and GOTO_NUM_THREADS when compiled with USE_OPENMP=1.


The distro sets OpenBlas to build using USE_OPENMP=1, and tuning
OMP_NUM_THREADS before calling Octave has a 20% difference in performance
without crashing but changing OPENBLAS_NUM_THREADS on a library built with
USE_OPENMP=1 causes a crash.

Either way, Octave itself is not affected by this OpenBlas library behavior.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60762>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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