Re: Single-threaded OpenBLAS is not thread-safe

2020-05-28 Thread Iñaki Ucar
On Thu, 28 May 2020 at 10:04, Susi Lehtola wrote: > > The correct case is to use the OpenMP flavor of OpenBLAS to avoid these > issues. If you use the OpenMP library in a sequential program, the BLAS > runs in parallel, and if you use the OpenMP library in an OpenMP > parallel program the BLAS run

Re: Single-threaded OpenBLAS is not thread-safe

2020-05-28 Thread Susi Lehtola
On Wed, 27 May 2020 12:29:36 +0200 Iñaki Ucar wrote: > Hi, > > I wanted to bring some attention to this in devel, not only to > openblas' maintainer (in CC), because there have been some discussions > around BLAS/LAPACK in the past here. > > As Dave Love pointed out in a previous discussion, gen

Single-threaded OpenBLAS is not thread-safe

2020-05-27 Thread Iñaki Ucar
Hi, I wanted to bring some attention to this in devel, not only to openblas' maintainer (in CC), because there have been some discussions around BLAS/LAPACK in the past here. As Dave Love pointed out in a previous discussion, generally, parallelization is made at the top level and then you simply