Steven Trogdon
Steven Trogdon
A data point. I do see the failure on s-o-g but not so far on vanilla. Vanilla here uses system `openblas [ pthread, -openmp ]` and system `singular`. The s-o-g...
Another data point - s-o-g does not have `openblas` as a `NEEDED` lib. ``` On vanilla $ objdump -p src/sage/matrix/matrix_integer_dense.cpython-310-x86_64-linux-gnu.so | grep NEEDED NEEDED libiml.so.0 NEEDED libgmp.so.10 NEEDED libopenblas.so.0 NEEDED...
`needed` libs may not be an issue. On my gentoo-prefix I don't see a doctest failure.
I'm able to get the `time out` (`/storage/strogdon/gentoo-rap/usr/lib64/libopenblas.so.0(blas_thread_shutdown_+0xbf)[0x7ffb0a90889f]`) on gentoo-prefix when doctesting the folder ``` sage -tp 9 --long ~/usr/lib/python3.10/site-packages/sage/matrix/ ``` I have not been able to get vanilla to...
From `src/bin/sage-env` there is ``` # Multithreading in OpenBLAS does not seem to play well with Sage's attempts to # spawn new processes, see #26118. Apparently, OpenBLAS sets the thread...
Perhaps `sage-9.6` also?
For info, Vanilla: ``` ldd -r venv/lib/python3.10/site-packages/sage/structure/coerce_actions.cpython-310-x86_64-linux-gnu.so linux-vdso.so.1 (0x00007fff42d72000) libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f308e020000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f308e000000) libc.so.6 => /lib64/libc.so.6 (0x00007f308de32000) /lib64/ld-linux-x86-64.so.2 (0x00007f308e0e3000) ``` Gentoo: ``` ldd -r /usr/lib/python3.10/site-packages/sage/structure/coerce_actions.cpython-310-x86_64-linux-gnu.so linux-vdso.so.1...
There are other Python symbols that are undefined - I'm assuming they're picked up at runtime? Vanilla: ``` Dynamic section at offset 0x28cd0 contains 27 entries: Tag Type Name/Value 0x0000000000000001...
However when I build vanilla I have exported ``` export MAKE="make -j9" && export LDFLAGS="-Wl,-O1 -Wl,--as-needed" ```
I must say the build log is not very informative. All I have is ``` [sagelib-9.6.beta5] [ 43/531] Cythonizing sage/structure/coerce_actions.pyx ``` I can't find any linking info.