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 [
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