[Bug 2100355] Re: openblas-serial not built in a thread-safe way

2025-03-03 Thread Zhentao Wang
A minimal c++ code to reproduce the bug is attached. Note that here we use libopenblas-serial-dev. When testing, maybe the other versions of openblas can be uninstalled to avoid accidentally linking to them. To compile: ``` g++ openblas_bug.cc -fopenmp -lopenblas ``` Run with: ``` i=1; while [

[Bug 2100355] [NEW] openblas-serial not built in a thread-safe way

2025-02-26 Thread Zhentao Wang
Public bug reported: The specific problem I have is with libopenblas-serial-dev, version 0.3.26, which was not compiled in a thread-safe way by the Ubuntu team (I'm using Ubuntu 24.04). I have tested this with a c++ code with openmp for loops and see the following behavior: 1. With libopenblas-se