Skip to content

Instantly share code, notes, and snippets.

@jonringer
Created November 11, 2020 00:58
Show Gist options
  • Save jonringer/3d9351b8f1e153f5a7275975880b4319 to your computer and use it in GitHub Desktop.
Save jonringer/3d9351b8f1e153f5a7275975880b4319 to your computer and use it in GitHub Desktop.
openblas git bisect regression
[15:58:24] jon@nixos ~/projects/OpenBLAS ((61fae592...)|BISECTING)
$ git bisect run nix-build -A python3Packages.numpy --no-build-output --cores 128
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/6d7s6mn5c3403ygq8g7gq5c6n64n8pxz-openblas-0.3.12.drv
/nix/store/93c3dj0z590ns4q8lxmbhpp75jn6hnnf-blas-3.drv
/nix/store/n1mc89mqfikidagrh9j0sqjwc6dmzj21-lapack-3.drv
/nix/store/aqqbyfplxkhdxnaybkh8w3q3m85l2myj-site.cfg.drv
/nix/store/afnw84akci2m3k4vhr4i2hy8r8j1dlck-python3.8-numpy-1.19.1.drv
building '/nix/store/6d7s6mn5c3403ygq8g7gq5c6n64n8pxz-openblas-0.3.12.drv'...
building '/nix/store/93c3dj0z590ns4q8lxmbhpp75jn6hnnf-blas-3.drv'...
building '/nix/store/n1mc89mqfikidagrh9j0sqjwc6dmzj21-lapack-3.drv'...
building '/nix/store/aqqbyfplxkhdxnaybkh8w3q3m85l2myj-site.cfg.drv'...
building '/nix/store/afnw84akci2m3k4vhr4i2hy8r8j1dlck-python3.8-numpy-1.19.1.drv'...
/nix/store/6a3idqd6gwc89snliwlzn347cvz8b80k-python3.8-numpy-1.19.1
Bisecting: 155 revisions left to test after this (roughly 7 steps)
[756802df61c08898a904a300431b41d60c46785c] Merge pull request #2890 from martin-frbg/s-d-sum
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/d8jrwf6kk5q296j8pfni6bbvx4scgz9q-openblas-0.3.12.drv
/nix/store/lkgcnkfn932iwkb1jdcwr96gkyz7yzwb-lapack-3.drv
/nix/store/nc5jg665krf2xhrjvk8f9kyxs3ri74vj-blas-3.drv
/nix/store/bs2fpscf6ds8sbic5qi0wiqsq2z64f2v-site.cfg.drv
/nix/store/mp15c89j835ds7w5nbnbn287whd1kjkk-python3.8-numpy-1.19.1.drv
building '/nix/store/d8jrwf6kk5q296j8pfni6bbvx4scgz9q-openblas-0.3.12.drv'...
building '/nix/store/nc5jg665krf2xhrjvk8f9kyxs3ri74vj-blas-3.drv'...
building '/nix/store/lkgcnkfn932iwkb1jdcwr96gkyz7yzwb-lapack-3.drv'...
building '/nix/store/bs2fpscf6ds8sbic5qi0wiqsq2z64f2v-site.cfg.drv'...
building '/nix/store/mp15c89j835ds7w5nbnbn287whd1kjkk-python3.8-numpy-1.19.1.drv'...
builder for '/nix/store/mp15c89j835ds7w5nbnbn287whd1kjkk-python3.8-numpy-1.19.1.drv' failed with exit code 139; last 10 log lines:
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main
File "/nix/store/8p3c1smjr7rn9l9jf64ij1bcxxmvhrg4-python3.8-numpy-1.19.1/lib/python3.8/site-packages/numpy/_pytesttester.py", line 195 in __call__
File "<string>", line 1 in <module>
/nix/store/8qagiljbmjs1m6ndchl7b2h9b2vvcx7x-stdenv-linux/setup: line 1303: 4602 Segmentation fault (core dumped) /nix/store/cqh3nsk4z8lc960g8yqvz5nf2f6qx9v0-python3-3.8.6/bin/python3.8 -c 'import numpy; numpy.test("fast", verbose=10)'
error: build of '/nix/store/mp15c89j835ds7w5nbnbn287whd1kjkk-python3.8-numpy-1.19.1.drv' failed
Bisecting: 79 revisions left to test after this (roughly 6 steps)
[886a8e319048ff92a923f989ca1a01b594b60808] Adapt for supporting only a subset of variable types
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/3wfcxxv9w3l9pjy12pgny70dl376blb6-openblas-0.3.12.drv
/nix/store/div97p91mixdyrz9n7ayg3b3y8gsk4gi-lapack-3.drv
/nix/store/wswyidy74gl26nrpa7v2vn64yv71j722-blas-3.drv
/nix/store/572vk68s48f9vhxxf115balvfkrf25m5-site.cfg.drv
/nix/store/1ap4gdb80cradgfrq1y28wnw3avz16fj-python3.8-numpy-1.19.1.drv
building '/nix/store/3wfcxxv9w3l9pjy12pgny70dl376blb6-openblas-0.3.12.drv'...
builder for '/nix/store/3wfcxxv9w3l9pjy12pgny70dl376blb6-openblas-0.3.12.drv' failed with exit code 2; last 10 log lines:
| ^~~~
cc -O2 -DUTEST_CHECK -DSANITY_CHECK -DREFNAME=f_ -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_AVX512 -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=64 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE -DBUILD_DOUBLE -DBUILD_COMPLEX -DBUILD_COMPLEX16 -DVERSION=\"0.3.10.dev\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -o openblas_utest utest_main.o test_min.o test_amax.o test_ismin.o test_rotmg.o test_axpy.o test_dotu.o test_dsdot.o test_swap.o test_rot.o test_potrs.o test_kernel_regress.o ../libopenblasp-r0.3.10.dev.a -lm -lpthread -lgfortran -lm -lpthread -lgfortran -Wl,-rpath,-Wl -Wl,-rpath,-Wl -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/10h0hfgz39h0wk76dgy2a0ajgxzqyfxg-gfortran-wrapper-9.3.0/bin -L/nix/store/g0ja9ixfxqc53ki2sgai2i9c4xhgdsjk-gfortran-9.3.0/lib/gcc/x86_64-unknown-linux-gnu/9.3.0 -L/nix/store/g0ja9ixfxqc53ki2sgai2i9c4xhgdsjk-gfortran-9.3.0/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../lib64 -L/nix/store/g0ja9ixfxqc53ki2sgai2i9c4xhgdsjk-gfortran-9.3.0/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../.. -Wl,-rpath,/nix/store/jzw9wzal18h6zzdcxqlbad97x9zk74by-openblas-0.3.12/lib64 -Wl,-rpath,/nix/store/jzw9wzal18h6zzdcxqlbad97x9zk74by-openblas-0.3.12/lib -L/nix/store/2wrfwfdpklhaqhjxgq6yd257cagdxgph-glibc-2.32/lib -L/nix/store/931l4l3ab5fg1x4cf0wx8pqg1prqgdmj-gfortran-9.3.0-lib/lib -lgfortran -lm -lgfortran -lm -lgomp -lquadmath -lm -lpthread -lc
/nix/store/s59zibwwm8vy5ymbg5c3d0aksl8lz4h2-binutils-2.31.1/bin/ld: test_potrs.o: in function `__ctest_potrf_bug_695_run':
test_potrs.c:(.text+0xaf): undefined reference to `zpotrs_'
/nix/store/s59zibwwm8vy5ymbg5c3d0aksl8lz4h2-binutils-2.31.1/bin/ld: test_kernel_regress.o: in function `__ctest_kernel_regress_skx_avx_run':
test_kernel_regress.c:(.text+0xb0): undefined reference to `LAPACKE_dgesvd'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:44: openblas_utest] Error 1
make[1]: Leaving directory '/build/source/utest'
make: *** [Makefile:141: tests] Error 2
cannot build derivation '/nix/store/wswyidy74gl26nrpa7v2vn64yv71j722-blas-3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/div97p91mixdyrz9n7ayg3b3y8gsk4gi-lapack-3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1ap4gdb80cradgfrq1y28wnw3avz16fj-python3.8-numpy-1.19.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/1ap4gdb80cradgfrq1y28wnw3avz16fj-python3.8-numpy-1.19.1.drv' failed
Bisecting: 39 revisions left to test after this (roughly 5 steps)
[e1b7123bbe1a7f22e86fe6b11ef3657481bb6747] Merge pull request #2867 from Qiyu8/usimd-floatdot
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/0s1qj0kaning3jlghkm36y8cg9jlcjgm-openblas-0.3.12.drv
/nix/store/k62kfb2q0v4a763lfaajwbgj1w05cdxz-lapack-3.drv
/nix/store/lxsymqqrp4sf2h87719rsybgqg3p4a75-blas-3.drv
/nix/store/2ps9q6abrpk4zskq30n7j06gdadbsrh8-site.cfg.drv
/nix/store/3wrayc1a77qqbg7f4zgmjzs9si7b1dd3-python3.8-numpy-1.19.1.drv
building '/nix/store/0s1qj0kaning3jlghkm36y8cg9jlcjgm-openblas-0.3.12.drv'...
building '/nix/store/lxsymqqrp4sf2h87719rsybgqg3p4a75-blas-3.drv'...
building '/nix/store/k62kfb2q0v4a763lfaajwbgj1w05cdxz-lapack-3.drv'...
building '/nix/store/2ps9q6abrpk4zskq30n7j06gdadbsrh8-site.cfg.drv'...
building '/nix/store/3wrayc1a77qqbg7f4zgmjzs9si7b1dd3-python3.8-numpy-1.19.1.drv'...
builder for '/nix/store/3wrayc1a77qqbg7f4zgmjzs9si7b1dd3-python3.8-numpy-1.19.1.drv' failed with exit code 139; last 10 log lines:
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main
File "/nix/store/rzr549i1m2694pnrkcllby17w4d74zvq-python3.8-numpy-1.19.1/lib/python3.8/site-packages/numpy/_pytesttester.py", line 195 in __call__
File "<string>", line 1 in <module>
/nix/store/8qagiljbmjs1m6ndchl7b2h9b2vvcx7x-stdenv-linux/setup: line 1303: 4602 Segmentation fault (core dumped) /nix/store/cqh3nsk4z8lc960g8yqvz5nf2f6qx9v0-python3-3.8.6/bin/python3.8 -c 'import numpy; numpy.test("fast", verbose=10)'
error: build of '/nix/store/3wrayc1a77qqbg7f4zgmjzs9si7b1dd3-python3.8-numpy-1.19.1.drv' failed
Bisecting: 19 revisions left to test after this (roughly 4 steps)
[0b2bb5696af3c7abb0b0d5038124eb4a5f883fbc] Change ifdef linux to __linux for C11 compatibility
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/820wyn09hxmzmbp526p0n46x60d46x4r-openblas-0.3.12.drv
/nix/store/andw743pkjya9zzs51m3iwcb705jibvw-lapack-3.drv
/nix/store/yr8drj3axmvmxg98rfilrvffzmyr9grq-blas-3.drv
/nix/store/sh47h2hv15wswvw51zy40q25c8nmms5x-site.cfg.drv
/nix/store/fryybwklsja711rwcv0vgra8za7r8ixw-python3.8-numpy-1.19.1.drv
building '/nix/store/820wyn09hxmzmbp526p0n46x60d46x4r-openblas-0.3.12.drv'...
building '/nix/store/yr8drj3axmvmxg98rfilrvffzmyr9grq-blas-3.drv'...
building '/nix/store/andw743pkjya9zzs51m3iwcb705jibvw-lapack-3.drv'...
building '/nix/store/sh47h2hv15wswvw51zy40q25c8nmms5x-site.cfg.drv'...
building '/nix/store/fryybwklsja711rwcv0vgra8za7r8ixw-python3.8-numpy-1.19.1.drv'...
/nix/store/f055iiyd2nvil5jnb43iim3rc177z52r-python3.8-numpy-1.19.1
Bisecting: 10 revisions left to test after this (roughly 3 steps)
[f6e4cf2f9dac6f90b36f49659d883767d63791f5] Merge pull request #2876 from Flamefire/omp_fork_fix
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/kjsf3fw5xddlvw6yx1rg96yw6j2k73sm-openblas-0.3.12.drv
/nix/store/fxjv495jvy144xp27ramriizl9gpj043-blas-3.drv
/nix/store/s73b3sh8y538ajw904lr0ym5ndmgqpl8-lapack-3.drv
/nix/store/k1rqv3zyy2ccnk05035jnsc3jr71v2hk-site.cfg.drv
/nix/store/y5fqd33pc2jmhaxb9qfarsd5g6vpnhjk-python3.8-numpy-1.19.1.drv
building '/nix/store/kjsf3fw5xddlvw6yx1rg96yw6j2k73sm-openblas-0.3.12.drv'...
building '/nix/store/fxjv495jvy144xp27ramriizl9gpj043-blas-3.drv'...
building '/nix/store/s73b3sh8y538ajw904lr0ym5ndmgqpl8-lapack-3.drv'...
building '/nix/store/k1rqv3zyy2ccnk05035jnsc3jr71v2hk-site.cfg.drv'...
building '/nix/store/y5fqd33pc2jmhaxb9qfarsd5g6vpnhjk-python3.8-numpy-1.19.1.drv'...
builder for '/nix/store/y5fqd33pc2jmhaxb9qfarsd5g6vpnhjk-python3.8-numpy-1.19.1.drv' failed with exit code 139; last 10 log lines:
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main
File "/nix/store/bkjcvx5mq2345l4j3fiv44qs3fhz7wp5-python3.8-numpy-1.19.1/lib/python3.8/site-packages/numpy/_pytesttester.py", line 195 in __call__
File "<string>", line 1 in <module>
/nix/store/8qagiljbmjs1m6ndchl7b2h9b2vvcx7x-stdenv-linux/setup: line 1303: 4602 Segmentation fault (core dumped) /nix/store/cqh3nsk4z8lc960g8yqvz5nf2f6qx9v0-python3-3.8.6/bin/python3.8 -c 'import numpy; numpy.test("fast", verbose=10)'
error: build of '/nix/store/y5fqd33pc2jmhaxb9qfarsd5g6vpnhjk-python3.8-numpy-1.19.1.drv' failed
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[d3c0d6811b3b87df0ea0cded56090b9ba0a3f5e3] Merge pull request #2873 from martin-frbg/issue2871
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/8iz9ncjldd52pkwsygm8grazk0d800bk-openblas-0.3.12.drv
/nix/store/pgdyf54nd6hx8ddc22bbiz591w8wji78-lapack-3.drv
/nix/store/vrbcsxhwhmkqdhzz5qir13vmd5l89gi6-blas-3.drv
/nix/store/ik84ivjrm8zdrb6f8rk09k720c3j2d7d-site.cfg.drv
/nix/store/av7508y3xb2d30p3l35x7rahwdn2q2al-python3.8-numpy-1.19.1.drv
building '/nix/store/8iz9ncjldd52pkwsygm8grazk0d800bk-openblas-0.3.12.drv'...
building '/nix/store/vrbcsxhwhmkqdhzz5qir13vmd5l89gi6-blas-3.drv'...
building '/nix/store/pgdyf54nd6hx8ddc22bbiz591w8wji78-lapack-3.drv'...
building '/nix/store/ik84ivjrm8zdrb6f8rk09k720c3j2d7d-site.cfg.drv'...
building '/nix/store/av7508y3xb2d30p3l35x7rahwdn2q2al-python3.8-numpy-1.19.1.drv'...
/nix/store/f1z6irp6daij3sbcyhdbvk6v1zlhfhbq-python3.8-numpy-1.19.1
Bisecting: 1 revision left to test after this (roughly 1 step)
[9828343e123d240e0138a76b77e04e5deca94187] Merge pull request #2878 from brada4/asms
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/r2gdr22c862kvxw0a9knk32z8mi53ppx-openblas-0.3.12.drv
/nix/store/gck2ywqsxgqn110lxkmipz4k77yfh1av-blas-3.drv
/nix/store/yxpybv2bycn3gcn4i8pl0fg4qzf1hp6g-lapack-3.drv
/nix/store/c9w47m9qqsh35rw382dkfdxv4p5w4dik-site.cfg.drv
/nix/store/19ag34n91bg1yx51548kh4krixf5lpz5-python3.8-numpy-1.19.1.drv
building '/nix/store/r2gdr22c862kvxw0a9knk32z8mi53ppx-openblas-0.3.12.drv'...
building '/nix/store/gck2ywqsxgqn110lxkmipz4k77yfh1av-blas-3.drv'...
building '/nix/store/yxpybv2bycn3gcn4i8pl0fg4qzf1hp6g-lapack-3.drv'...
building '/nix/store/c9w47m9qqsh35rw382dkfdxv4p5w4dik-site.cfg.drv'...
building '/nix/store/19ag34n91bg1yx51548kh4krixf5lpz5-python3.8-numpy-1.19.1.drv'...
/nix/store/ajmlp0m7gr4h93pg1i3an83qr93nvp5w-python3.8-numpy-1.19.1
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[3094fc6c83c7a623f9a7e7846eb711a8a99ddfff] Lazyly reinit threads after a fork in OMP mode
running nix-build -A python3Packages.numpy --no-build-output --cores 128
these derivations will be built:
/nix/store/v4ivr958bc5apg768rr0pa1cwp9kj37l-openblas-0.3.12.drv
/nix/store/5c72qc030811a1746pjb32rvyjqly1p2-blas-3.drv
/nix/store/ibj0qzr5zzsm0fpf22116bqhf1si3zch-lapack-3.drv
/nix/store/lx2xrlnn9nfqjc5az8827nbigk54hbfk-site.cfg.drv
/nix/store/rpxz95kzwgsrp67nar2nkffkl2bgjvcc-python3.8-numpy-1.19.1.drv
building '/nix/store/v4ivr958bc5apg768rr0pa1cwp9kj37l-openblas-0.3.12.drv'...
building '/nix/store/5c72qc030811a1746pjb32rvyjqly1p2-blas-3.drv'...
building '/nix/store/ibj0qzr5zzsm0fpf22116bqhf1si3zch-lapack-3.drv'...
building '/nix/store/lx2xrlnn9nfqjc5az8827nbigk54hbfk-site.cfg.drv'...
building '/nix/store/rpxz95kzwgsrp67nar2nkffkl2bgjvcc-python3.8-numpy-1.19.1.drv'...
builder for '/nix/store/rpxz95kzwgsrp67nar2nkffkl2bgjvcc-python3.8-numpy-1.19.1.drv' failed with exit code 139; last 10 log lines:
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/nix/store/wjychz4ajbi8lxrq4pl2fjqkwas4p76d-python3.8-pluggy-0.13.1/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/nix/store/p5g8r25a6n2p3i2pkqrrjkgvm5212pc3-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main
File "/nix/store/0hgjns5gzb37zki16yi4y96ghdqs7hbi-python3.8-numpy-1.19.1/lib/python3.8/site-packages/numpy/_pytesttester.py", line 195 in __call__
File "<string>", line 1 in <module>
/nix/store/8qagiljbmjs1m6ndchl7b2h9b2vvcx7x-stdenv-linux/setup: line 1303: 4602 Segmentation fault (core dumped) /nix/store/cqh3nsk4z8lc960g8yqvz5nf2f6qx9v0-python3-3.8.6/bin/python3.8 -c 'import numpy; numpy.test("fast", verbose=10)'
error: build of '/nix/store/rpxz95kzwgsrp67nar2nkffkl2bgjvcc-python3.8-numpy-1.19.1.drv' failed
3094fc6c83c7a623f9a7e7846eb711a8a99ddfff is the first bad commit
commit 3094fc6c83c7a623f9a7e7846eb711a8a99ddfff
Author: Alexander Grund <alexander.grund@tu-dresden.de>
Date: Thu Oct 1 15:41:42 2020 +0200
Lazyly reinit threads after a fork in OMP mode
This initializes the per-thread memory buffers which get
cleared/released on a fork via pthread_at_fork. Not doing so leads to
each thread calling blas_memory_alloc on almost every execution which
slows down the code significantly as the threads race for the memory
allocation using locks to serialize that.
driver/others/blas_server_omp.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
bisect run success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment