jcmgray / quimb

A python library for quantum information and many-body calculations including tensor networks.
http://quimb.readthedocs.io
Other
488 stars 108 forks source link

Pytest test failed on i586 microarchitecture. #64

Closed kevinsmia1939 closed 4 years ago

kevinsmia1939 commented 4 years ago

Hello,

I am trying to build quimb for openSUSE Linux.

I use Open Build Service which allow me to build linux package for many microarchitecture from source. RIght now, x86 pass but i586 failed. From the look of the error, could this be because quimb does not support of 32 bit arch therefore failed on i586?


Python 3.8.5
pytest-5.4.3
python3-pytest-cov-2.10.0
quimb-1.3.0
python3-autoray-0.2.3
python3-cytoolz
python3-matplotlib-3.3.0
python3-networkx
python3-numba-0.49.1
python3-numpy-1.18.4
python3-opt-einsum-3.1.0
python3-scipy-1.5.2
python3-psutil-5.7.0
python3-tqdm-4.48.0

Below are some of the errors, for full errors, follow the link below.

Full error log for i586 here: https://build.opensuse.org/package/live_build_log/home:andythe_great/python-quimb/openSUSE_Tumbleweed/i586

[   65s] ============================= test session starts ==============================
[   65s] platform linux -- Python 3.8.5, pytest-5.4.3, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3
[   65s] cachedir: .pytest_cache
[   65s] rootdir: /home/abuild/rpmbuild/BUILD/quimb-1.3.0, inifile: setup.cfg, testpaths: tests
[   65s] plugins: cov-2.10.0
[  111s] collecting ... collected 2638 items
[ 1482s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[ 1482s] 
[ 1482s]     def ensure_parallel_support():
[ 1482s]         """Check if the platform supports parallel=True and raise if it does not.
[ 1482s]         """
[ 1482s]         if config.IS_32BITS:
[ 1482s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[ 1482s]                    "hardware.")
[ 1482s] >           raise errors.UnsupportedParforsError(msg)
[ 1482s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[ 1482s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[ 1482s] E           [1] During: lowering "id=1[LoopNest(index_variable = parfor_index.89, range = (0, $8load_attr.3, 1))]{74: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (529)>, 44: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 46: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 16: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)>}Var(parfor_index.89, core.py:525)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)
[ 1482s] 
[ 1482s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[ 1483s] 
[ 1483s] tp = <class 'numba.core.errors.TypingError'>
[ 1483s] value = TypingError('Failed in nopython mode pipeline (step: nopython frontend)\nInternal error at <numba.core.typeinfer.CallC...ed>\n        # else diagonalize just the block\n        sub_el, sub_ev = np.linalg.eigh(subselect(A, g))\n        ^\n')
[ 1483s] tb = None
[ 1483s] 
[ 1483s]     def reraise(tp, value, tb=None):
[ 1483s]         if value is None:
[ 1483s]             value = tp()
[ 1483s]         if value.__traceback__ is not tb:
[ 1483s] >           raise value.with_traceback(tb)
[ 1483s] E           numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
[ 1483s] E           Internal error at <numba.core.typeinfer.CallConstraint object at 0x9f0bce98>.
[ 1483s] E           Failed in nopython mode pipeline (step: nopython mode backend)
[ 1483s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[ 1483s] E           [1] During: lowering "id=38[LoopNest(index_variable = parfor_index.2190, range = (0, p_size0.2184, 1))]{42: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)>}Var(parfor_index.2190, autoblock.py:106)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)
[ 1483s] E           [2] During: resolving callee type: type(CPUDispatcher(<function subselect at 0xa2bb55c8>))
[ 1483s] E           [3] During: typing of call at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (171)
[ 1483s] E           
[ 1483s] E           Enable logging at debug level for details.
[ 1483s] E           
[ 1483s] E           File "quimb/linalg/autoblock.py", line 171:
[ 1483s] E           def _eigh_autoblocked(A, sort=True):  # pragma: no cover
[ 1483s] E               <source elided>
[ 1483s] E                   # else diagonalize just the block
[ 1483s] E                   sub_el, sub_ev = np.linalg.eigh(subselect(A, g))
[ 1483s] E                   ^
[ 1483s] 
[ 1483s] /usr/lib/python3.8/site-packages/numba/core/utils.py:80: TypingError

[ 1483s] ____________ TestMatrixProductState.test_canonize_cyclic[complex-0] ____________
[ 1483s] 
[ 1483s] self = <test_tensor_1d.TestMatrixProductState object at 0x9e126748>
[ 1483s] dtype = <class 'complex'>, block = 0
[ 1483s] 
[ 1483s]     @pytest.mark.parametrize("block", [
[ 1483s]         0, 20, 39,
[ 1483s]         slice(0, 5),
[ 1483s]         slice(20, 25),
[ 1483s]         slice(35, 40),
[ 1483s]         slice(38, 42),
[ 1483s]         slice(-3, 2)
[ 1483s]     ])
[ 1483s]     @pytest.mark.parametrize("dtype", [float, complex])
[ 1483s]     def test_canonize_cyclic(self, dtype, block):
[ 1483s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[ 1483s]         b = k.H
[ 1483s]         k.add_tag('KET')
[ 1483s]         b.add_tag('BRA')
[ 1483s]         kb = (b | k)
[ 1483s]     
[ 1483s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[ 1483s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[ 1483s]         k.canonize_cyclic(block, bra=b)
[ 1483s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[ 1483s] E       AssertionError: 
[ 1483s] E       Not equal to tolerance rtol=0.0002, atol=0
[ 1483s] E       
[ 1483s] E       Mismatched elements: 1 / 1 (100%)
[ 1483s] E       Max absolute difference: 0.03386981
[ 1483s] E       Max relative difference: 0.03386981
[ 1483s] E        x: array(0.96613)
[ 1483s] E        y: array(1.)
[ 1483s] 
[ 1483s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
jcmgray commented 4 years ago

Hmm yes (among other things) look's like numba and its parallel mode is not supported. You can try setting

export QUIMB_NUMBA_PARALLEL=off

to see if that mostly resolves things. numba is unfortunately still pretty temperamental.

kevinsmia1939 commented 4 years ago

Hmm yes (among other things) look's like numba and its parallel mode is not supported. You can try setting

export QUIMB_NUMBA_PARALLEL=off

to see if that mostly resolves things. numba is unfortunately still pretty temperamental.

I have attempted to export like you mention, it seems to cause more errors. I think it is better to disable build for 32-bit then?

[  945s] =================================== FAILURES ===================================
[  945s] _______________________ TestDot.test_par_dot_csr_matvec ________________________
[  945s] 
[  945s] self = <tests.test_accel.TestDot object at 0xa6113aa8>
[  945s] mat_s = <4x4 sparse matrix of type '<class 'numpy.complex128'>'
[  945s]    with 8 stored elements in Compressed Sparse Row format>
[  945s] ket_d = [[-0.425798-0.672189j]
[  945s]  [-0.307649-0.359387j]
[  945s]  [-0.184638+0.319986j]
[  945s]  [-0.027712-0.07616j ]]
[  945s] 
[  945s]     def test_par_dot_csr_matvec(self, mat_s, ket_d):
[  945s] >       x = par_dot_csr_matvec(mat_s, ket_d)
[  945s] 
[  945s] tests/test_accel.py:281: 
[  945s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  945s] quimb/core.py:553: in par_dot_csr_matvec
[  945s]     _dot_csr_matvec_prange(A.data, A.indptr, A.indices, x.ravel(), y)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  945s]     raise e
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  945s]     return self.compile(tuple(argtypes))
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  945s]     return func(*args, **kwargs)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  945s]     cres = self._compiler.compile(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  945s]     status, retval = self._compile_cached(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  945s]     retval = self._compile_core(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  945s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  945s]     return pipeline.compile_extra(func)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  945s]     return self._compile_bytecode()
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  945s]     return self._compile_core()
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  945s]     raise e
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  945s]     pm.run(self.state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  945s]     raise patched_exception
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  945s]     self._runPass(idx, pass_inst, state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  945s]     return func(*args, **kwargs)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  945s]     mutated |= check(pss.run_pass, internal_state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  945s]     mangled = func(compiler_state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  945s]     NativeLowering().run_pass(state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  945s]     lower.lower()
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  945s]     self.lower_normal_function(self.fndesc)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  945s]     entry_block_tail = self.lower_function_body()
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  945s]     self.lower_block(block)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  945s]     self.lower_inst(inst)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  945s]     func(self, inst)
[  945s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  945s]     ensure_parallel_support()
[  945s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  945s] 
[  945s]     def ensure_parallel_support():
[  945s]         """Check if the platform supports parallel=True and raise if it does not.
[  945s]         """
[  945s]         if config.IS_32BITS:
[  945s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  945s]                    "hardware.")
[  945s] >           raise errors.UnsupportedParforsError(msg)
[  945s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  945s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  945s] E           [1] During: lowering "id=0[LoopNest(index_variable = parfor_index.44, range = (0, $8load_attr.3, 1))]{74: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (529)>, 44: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 46: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 16: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)>}Var(parfor_index.44, core.py:525)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)
[  945s] 
[  945s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  945s] ____________________ TestDot.test_par_dot_csr_matvec_Array _____________________
[  945s] 
[  945s] self = <tests.test_accel.TestDot object at 0xa5c6f598>
[  945s] mat_s = <4x4 sparse matrix of type '<class 'numpy.complex128'>'
[  945s]    with 8 stored elements in Compressed Sparse Row format>
[  945s] ket_d = [[ 0.290128+0.175678j]
[  945s]  [ 0.288806-0.500847j]
[  945s]  [ 0.229195+0.254162j]
[  945s]  [-0.33872 +0.564664j]]
[  945s] 
[  945s]     def test_par_dot_csr_matvec_Array(self, mat_s, ket_d):
[  945s] >       x = par_dot_csr_matvec(mat_s, np.asarray(ket_d).reshape(-1))
[  945s] 
[  945s] tests/test_accel.py:289: 
[  945s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  945s] quimb/core.py:553: in par_dot_csr_matvec
[  945s]     _dot_csr_matvec_prange(A.data, A.indptr, A.indices, x.ravel(), y)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  945s]     raise e
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  945s]     return self.compile(tuple(argtypes))
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  945s]     return func(*args, **kwargs)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  945s]     cres = self._compiler.compile(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  945s]     status, retval = self._compile_cached(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  945s]     retval = self._compile_core(args, return_type)
[  945s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  945s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  945s]     return pipeline.compile_extra(func)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  945s]     return self._compile_bytecode()
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  945s]     return self._compile_core()
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  945s]     raise e
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  945s]     pm.run(self.state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  945s]     raise patched_exception
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  945s]     self._runPass(idx, pass_inst, state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  945s]     return func(*args, **kwargs)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  945s]     mutated |= check(pss.run_pass, internal_state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  945s]     mangled = func(compiler_state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  945s]     NativeLowering().run_pass(state)
[  945s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  945s]     lower.lower()
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  945s]     self.lower_normal_function(self.fndesc)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  945s]     entry_block_tail = self.lower_function_body()
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  945s]     self.lower_block(block)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  945s]     self.lower_inst(inst)
[  945s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  945s]     func(self, inst)
[  945s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  945s]     ensure_parallel_support()
[  945s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  945s] 
[  945s]     def ensure_parallel_support():
[  945s]         """Check if the platform supports parallel=True and raise if it does not.
[  945s]         """
[  945s]         if config.IS_32BITS:
[  945s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  945s]                    "hardware.")
[  945s] >           raise errors.UnsupportedParforsError(msg)
[  945s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  945s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  945s] E           [1] During: lowering "id=1[LoopNest(index_variable = parfor_index.89, range = (0, $8load_attr.3, 1))]{74: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (529)>, 44: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 46: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (527)>, 16: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)>}Var(parfor_index.89, core.py:525)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (525)
[  945s] 
[  945s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  945s] _______________________ TestFastDiagMul.test_ldmul_large _______________________
[  945s] 
[  945s] self = <tests.test_accel.TestFastDiagMul object at 0xa5fcb520>
[  945s] 
[  945s]     def test_ldmul_large(self):
[  945s]         vec = np.random.randn(501)
[  945s]         mat = rand_matrix(501)
[  945s] >       a = ldmul(vec, mat)
[  945s] 
[  945s] tests/test_accel.py:320: 
[  945s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  945s] quimb/core.py:660: in ldmul
[  945s]     return l_diag_dot_dense(diag, mat)
[  945s] quimb/core.py:238: in qarray_fn
[  945s]     out = fn(*args, **kwargs)
[  945s] quimb/core.py:630: in l_diag_dot_dense
[  945s]     _l_diag_dot_dense_par(diag.ravel(), mat, out)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=4[LoopNest(index_variable = parfor_index.151, range = (0, $8load_attr.3, 1))]{16: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (616)>}Var(parfor_index.151, core.py:616)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (616)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] _______________________ TestFastDiagMul.test_rdmul_large _______________________
[  946s] 
[  946s] self = <tests.test_accel.TestFastDiagMul object at 0xa5d2d088>
[  946s] 
[  946s]     def test_rdmul_large(self):
[  946s]         vec = np.random.randn(501)
[  946s]         mat = rand_matrix(501)
[  946s] >       a = rdmul(mat, vec)
[  946s] 
[  946s] tests/test_accel.py:341: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:709: in rdmul
[  946s]     return r_diag_dot_dense(mat, diag)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:678: in r_diag_dot_dense
[  946s]     _r_diag_dot_dense_par(mat, diag.ravel(), out)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=7[LoopNest(index_variable = parfor_index.268, range = (0, $8load_attr.3, 1))]{16: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (665)>}Var(parfor_index.268, core.py:665)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (665)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] ___________________ TestKron.test_kron_ownership[0-4-False] ____________________
[  946s] 
[  946s] self = <tests.test_core.TestKron object at 0xa7501aa8>, sparse = False, ri = 0
[  946s] rf = 4
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_kron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         ops = [qu.rand_matrix(d, sparse=sparse) for d in dims]
[  946s] >       X1 = qu.kron(*ops)[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:341: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=10[LoopNest(index_variable = parfor_index.438, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.438, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] __________________ TestKron.test_kron_ownership[75-89-False] ___________________
[  946s] 
[  946s] self = <tests.test_core.TestKron object at 0xa5e62fd0>, sparse = False, ri = 75
[  946s] rf = 89
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_kron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         ops = [qu.rand_matrix(d, sparse=sparse) for d in dims]
[  946s] >       X1 = qu.kron(*ops)[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:341: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=13[LoopNest(index_variable = parfor_index.626, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.626, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] _________________ TestKron.test_kron_ownership[150-168-False] __________________
[  946s] 
[  946s] self = <tests.test_core.TestKron object at 0xa5ffe9e8>, sparse = False, ri = 150
[  946s] rf = 168
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_kron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         ops = [qu.rand_matrix(d, sparse=sparse) for d in dims]
[  946s] >       X1 = qu.kron(*ops)[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:341: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=16[LoopNest(index_variable = parfor_index.814, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.814, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] __________________ TestKron.test_kron_ownership[0-168-False] ___________________
[  946s] 
[  946s] self = <tests.test_core.TestKron object at 0xa5755a30>, sparse = False, ri = 0
[  946s] rf = 168
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_kron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         ops = [qu.rand_matrix(d, sparse=sparse) for d in dims]
[  946s] >       X1 = qu.kron(*ops)[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:341: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=19[LoopNest(index_variable = parfor_index.1002, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1002, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] __________________ Testikron.test_ikron_ownership[0-4-False] ___________________
[  946s] 
[  946s] self = <tests.test_core.Testikron object at 0xa5dcfd18>, sparse = False, ri = 0
[  946s] rf = 4
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_ikron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         X = qu.rand_matrix(2, sparse=sparse)
[  946s]         Y = qu.rand_matrix(3, sparse=sparse)
[  946s] >       X1 = qu.ikron((X, Y), dims, (1, 3))[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:476: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1708: in ikron
[  946s]     return kron(*gen_ops(), stype=stype, coo_build=coo_build,
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  946s]     self.lower_normal_function(self.fndesc)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  946s]     entry_block_tail = self.lower_function_body()
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  946s]     self.lower_block(block)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  946s]     self.lower_inst(inst)
[  946s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  946s]     func(self, inst)
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  946s]     ensure_parallel_support()
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] 
[  946s]     def ensure_parallel_support():
[  946s]         """Check if the platform supports parallel=True and raise if it does not.
[  946s]         """
[  946s]         if config.IS_32BITS:
[  946s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  946s]                    "hardware.")
[  946s] >           raise errors.UnsupportedParforsError(msg)
[  946s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  946s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  946s] E           [1] During: lowering "id=22[LoopNest(index_variable = parfor_index.1190, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1190, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  946s] 
[  946s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  946s] _________________ Testikron.test_ikron_ownership[75-89-False] __________________
[  946s] 
[  946s] self = <tests.test_core.Testikron object at 0xa5dcf0a0>, sparse = False, ri = 75
[  946s] rf = 89
[  946s] 
[  946s]     @mark.parametrize("sparse", [True, False])
[  946s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  946s]     def test_ikron_ownership(self, sparse, ri, rf):
[  946s]         dims = [7, 2, 4, 3]
[  946s]         X = qu.rand_matrix(2, sparse=sparse)
[  946s]         Y = qu.rand_matrix(3, sparse=sparse)
[  946s] >       X1 = qu.ikron((X, Y), dims, (1, 3))[ri:rf, :]
[  946s] 
[  946s] tests/test_core.py:476: 
[  946s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  946s] quimb/core.py:1708: in ikron
[  946s]     return kron(*gen_ops(), stype=stype, coo_build=coo_build,
[  946s] quimb/core.py:1286: in kron
[  946s]     X = _kron_core(*ops, **core_kws)
[  946s] quimb/core.py:1173: in _kron_core
[  946s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  946s] quimb/core.py:799: in kron_dispatch
[  946s]     return kron_dense(a, b)
[  946s] quimb/core.py:238: in qarray_fn
[  946s]     out = fn(*args, **kwargs)
[  946s] quimb/core.py:771: in kron_dense
[  946s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  946s]     return self.compile(tuple(argtypes))
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  946s]     cres = self._compiler.compile(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  946s]     status, retval = self._compile_cached(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  946s]     retval = self._compile_core(args, return_type)
[  946s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  946s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  946s]     return pipeline.compile_extra(func)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  946s]     return self._compile_bytecode()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  946s]     return self._compile_core()
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  946s]     raise e
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  946s]     pm.run(self.state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  946s]     raise patched_exception
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  946s]     self._runPass(idx, pass_inst, state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  946s]     return func(*args, **kwargs)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  946s]     mutated |= check(pss.run_pass, internal_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  946s]     mangled = func(compiler_state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  946s]     NativeLowering().run_pass(state)
[  946s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  946s]     lower.lower()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  947s]     self.lower_normal_function(self.fndesc)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  947s]     entry_block_tail = self.lower_function_body()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  947s]     self.lower_block(block)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  947s]     self.lower_inst(inst)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  947s]     func(self, inst)
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  947s]     ensure_parallel_support()
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s]     def ensure_parallel_support():
[  947s]         """Check if the platform supports parallel=True and raise if it does not.
[  947s]         """
[  947s]         if config.IS_32BITS:
[  947s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  947s]                    "hardware.")
[  947s] >           raise errors.UnsupportedParforsError(msg)
[  947s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=25[LoopNest(index_variable = parfor_index.1378, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1378, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  947s] ________________ Testikron.test_ikron_ownership[150-168-False] _________________
[  947s] 
[  947s] self = <tests.test_core.Testikron object at 0xa5964f88>, sparse = False
[  947s] ri = 150, rf = 168
[  947s] 
[  947s]     @mark.parametrize("sparse", [True, False])
[  947s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  947s]     def test_ikron_ownership(self, sparse, ri, rf):
[  947s]         dims = [7, 2, 4, 3]
[  947s]         X = qu.rand_matrix(2, sparse=sparse)
[  947s]         Y = qu.rand_matrix(3, sparse=sparse)
[  947s] >       X1 = qu.ikron((X, Y), dims, (1, 3))[ri:rf, :]
[  947s] 
[  947s] tests/test_core.py:476: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/core.py:1708: in ikron
[  947s]     return kron(*gen_ops(), stype=stype, coo_build=coo_build,
[  947s] quimb/core.py:1286: in kron
[  947s]     X = _kron_core(*ops, **core_kws)
[  947s] quimb/core.py:1173: in _kron_core
[  947s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  947s] quimb/core.py:799: in kron_dispatch
[  947s]     return kron_dense(a, b)
[  947s] quimb/core.py:238: in qarray_fn
[  947s]     out = fn(*args, **kwargs)
[  947s] quimb/core.py:771: in kron_dense
[  947s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  947s]     return self.compile(tuple(argtypes))
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  947s]     cres = self._compiler.compile(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  947s]     status, retval = self._compile_cached(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  947s]     retval = self._compile_core(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  947s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  947s]     return pipeline.compile_extra(func)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  947s]     return self._compile_bytecode()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  947s]     return self._compile_core()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  947s]     pm.run(self.state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  947s]     raise patched_exception
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  947s]     self._runPass(idx, pass_inst, state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  947s]     mutated |= check(pss.run_pass, internal_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  947s]     mangled = func(compiler_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  947s]     NativeLowering().run_pass(state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  947s]     lower.lower()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  947s]     self.lower_normal_function(self.fndesc)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  947s]     entry_block_tail = self.lower_function_body()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  947s]     self.lower_block(block)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  947s]     self.lower_inst(inst)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  947s]     func(self, inst)
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  947s]     ensure_parallel_support()
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s]     def ensure_parallel_support():
[  947s]         """Check if the platform supports parallel=True and raise if it does not.
[  947s]         """
[  947s]         if config.IS_32BITS:
[  947s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  947s]                    "hardware.")
[  947s] >           raise errors.UnsupportedParforsError(msg)
[  947s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=28[LoopNest(index_variable = parfor_index.1566, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1566, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  947s] _________________ Testikron.test_ikron_ownership[0-168-False] __________________
[  947s] 
[  947s] self = <tests.test_core.Testikron object at 0xa5811250>, sparse = False, ri = 0
[  947s] rf = 168
[  947s] 
[  947s]     @mark.parametrize("sparse", [True, False])
[  947s]     @mark.parametrize("ri,rf", ([0, 4], [75, 89], [150, 168], [0, 168]))
[  947s]     def test_ikron_ownership(self, sparse, ri, rf):
[  947s]         dims = [7, 2, 4, 3]
[  947s]         X = qu.rand_matrix(2, sparse=sparse)
[  947s]         Y = qu.rand_matrix(3, sparse=sparse)
[  947s] >       X1 = qu.ikron((X, Y), dims, (1, 3))[ri:rf, :]
[  947s] 
[  947s] tests/test_core.py:476: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/core.py:1708: in ikron
[  947s]     return kron(*gen_ops(), stype=stype, coo_build=coo_build,
[  947s] quimb/core.py:1286: in kron
[  947s]     X = _kron_core(*ops, **core_kws)
[  947s] quimb/core.py:1173: in _kron_core
[  947s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  947s] quimb/core.py:799: in kron_dispatch
[  947s]     return kron_dense(a, b)
[  947s] quimb/core.py:238: in qarray_fn
[  947s]     out = fn(*args, **kwargs)
[  947s] quimb/core.py:771: in kron_dense
[  947s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  947s]     return self.compile(tuple(argtypes))
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  947s]     cres = self._compiler.compile(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  947s]     status, retval = self._compile_cached(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  947s]     retval = self._compile_core(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  947s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  947s]     return pipeline.compile_extra(func)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  947s]     return self._compile_bytecode()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  947s]     return self._compile_core()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  947s]     pm.run(self.state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  947s]     raise patched_exception
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  947s]     self._runPass(idx, pass_inst, state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  947s]     mutated |= check(pss.run_pass, internal_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  947s]     mangled = func(compiler_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  947s]     NativeLowering().run_pass(state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  947s]     lower.lower()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  947s]     self.lower_normal_function(self.fndesc)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  947s]     entry_block_tail = self.lower_function_body()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  947s]     self.lower_block(block)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  947s]     self.lower_inst(inst)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  947s]     func(self, inst)
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  947s]     ensure_parallel_support()
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s]     def ensure_parallel_support():
[  947s]         """Check if the platform supports parallel=True and raise if it does not.
[  947s]         """
[  947s]         if config.IS_32BITS:
[  947s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  947s]                    "hardware.")
[  947s] >           raise errors.UnsupportedParforsError(msg)
[  947s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=31[LoopNest(index_variable = parfor_index.1754, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1754, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  947s] __________ TestPartialTraceDense.test_partial_trace_dop_product_state __________
[  947s] 
[  947s] self = <tests.test_core.TestPartialTraceDense object at 0xa564b5c8>
[  947s] 
[  947s]     def test_partial_trace_dop_product_state(self):
[  947s]         dims = [3, 2, 4, 2, 3]
[  947s]         ps = [qu.rand_rho(dim) for dim in dims]
[  947s] >       pt = qu.kron(*ps)
[  947s] 
[  947s] tests/test_core.py:592: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/core.py:1286: in kron
[  947s]     X = _kron_core(*ops, **core_kws)
[  947s] quimb/core.py:1173: in _kron_core
[  947s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  947s] quimb/core.py:799: in kron_dispatch
[  947s]     return kron_dense(a, b)
[  947s] quimb/core.py:238: in qarray_fn
[  947s]     out = fn(*args, **kwargs)
[  947s] quimb/core.py:771: in kron_dense
[  947s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  947s]     return self.compile(tuple(argtypes))
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  947s]     cres = self._compiler.compile(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  947s]     status, retval = self._compile_cached(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  947s]     retval = self._compile_core(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  947s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  947s]     return pipeline.compile_extra(func)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  947s]     return self._compile_bytecode()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  947s]     return self._compile_core()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  947s]     pm.run(self.state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  947s]     raise patched_exception
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  947s]     self._runPass(idx, pass_inst, state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  947s]     mutated |= check(pss.run_pass, internal_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  947s]     mangled = func(compiler_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  947s]     NativeLowering().run_pass(state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  947s]     lower.lower()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  947s]     self.lower_normal_function(self.fndesc)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  947s]     entry_block_tail = self.lower_function_body()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  947s]     self.lower_block(block)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  947s]     self.lower_inst(inst)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  947s]     func(self, inst)
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  947s]     ensure_parallel_support()
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s]     def ensure_parallel_support():
[  947s]         """Check if the platform supports parallel=True and raise if it does not.
[  947s]         """
[  947s]         if config.IS_32BITS:
[  947s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  947s]                    "hardware.")
[  947s] >           raise errors.UnsupportedParforsError(msg)
[  947s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=34[LoopNest(index_variable = parfor_index.1942, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.1942, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  947s] ___________________________ TestAutoBlock.test_eigh ____________________________
[  947s] 
[  947s] self = <tests.test_linalg.test_numpy_linalg.TestAutoBlock object at 0xa52bfdd8>
[  947s] 
[  947s]     def test_eigh(self):
[  947s]         H = qu.ham_mbl(6, dh=2.5)
[  947s]         a_el, a_ev = qu.eigh(H, autoblock=False)
[  947s] >       el, ev = qu.eigh(H, autoblock=True)
[  947s] 
[  947s] tests/test_linalg/test_numpy_linalg.py:66: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/linalg/base_linalg.py:191: in eigensystem
[  947s]     return eig_numpy(A, isherm=isherm, sort=sort,
[  947s] quimb/linalg/numpy_linalg.py:46: in eig_numpy
[  947s]     return eigensystem_autoblocked(A, sort=sort, isherm=isherm,
[  947s] quimb/linalg/autoblock.py:242: in eigensystem_autoblocked
[  947s]     el, ev = _eigh_autoblocked(A, sort=sort)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:401: in _compile_for_args
[  947s]     error_rewrite(e, 'typing')
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:344: in error_rewrite
[  947s]     reraise(type(e), e, None)
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s] tp = <class 'numba.core.errors.TypingError'>
[  947s] value = TypingError('Failed in nopython mode pipeline (step: nopython frontend)\nInternal error at <numba.core.typeinfer.CallC...ed>\n        # else diagonalize just the block\n        sub_el, sub_ev = np.linalg.eigh(subselect(A, g))\n        ^\n')
[  947s] tb = None
[  947s] 
[  947s]     def reraise(tp, value, tb=None):
[  947s]         if value is None:
[  947s]             value = tp()
[  947s]         if value.__traceback__ is not tb:
[  947s] >           raise value.with_traceback(tb)
[  947s] E           numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
[  947s] E           Internal error at <numba.core.typeinfer.CallConstraint object at 0xa5411658>.
[  947s] E           Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=38[LoopNest(index_variable = parfor_index.2190, range = (0, p_size0.2184, 1))]{42: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)>}Var(parfor_index.2190, autoblock.py:106)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)
[  947s] E           [2] During: resolving callee type: type(CPUDispatcher(<function subselect at 0xa8c5b5c8>))
[  947s] E           [3] During: typing of call at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (171)
[  947s] E           
[  947s] E           Enable logging at debug level for details.
[  947s] E           
[  947s] E           File "quimb/linalg/autoblock.py", line 171:
[  947s] E           def _eigh_autoblocked(A, sort=True):  # pragma: no cover
[  947s] E               <source elided>
[  947s] E                   # else diagonalize just the block
[  947s] E                   sub_el, sub_ev = np.linalg.eigh(subselect(A, g))
[  947s] E                   ^
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/core/utils.py:80: TypingError
[  947s] __________________________ TestAutoBlock.test_eigvals __________________________
[  947s] 
[  947s] self = <tests.test_linalg.test_numpy_linalg.TestAutoBlock object at 0xa618f808>
[  947s] 
[  947s]     def test_eigvals(self):
[  947s]         H = qu.ham_hubbard_hardcore(4)
[  947s]         a_el = qu.eigvalsh(H, autoblock=False)
[  947s] >       el = qu.eigvalsh(H, autoblock=True)
[  947s] 
[  947s] tests/test_linalg/test_numpy_linalg.py:75: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/linalg/base_linalg.py:191: in eigensystem
[  947s]     return eig_numpy(A, isherm=isherm, sort=sort,
[  947s] quimb/linalg/numpy_linalg.py:46: in eig_numpy
[  947s]     return eigensystem_autoblocked(A, sort=sort, isherm=isherm,
[  947s] quimb/linalg/autoblock.py:240: in eigensystem_autoblocked
[  947s]     return _eigvalsh_autoblocked(A, sort=sort)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:401: in _compile_for_args
[  947s]     error_rewrite(e, 'typing')
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:344: in error_rewrite
[  947s]     reraise(type(e), e, None)
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s] tp = <class 'numba.core.errors.TypingError'>
[  947s] value = TypingError('Failed in nopython mode pipeline (step: nopython frontend)\nInternal error at <numba.core.typeinfer.CallC...t=True):  # pragma: no cover\n    <source elided>\n\n        el[g] = np.linalg.eigvalsh(subselect(A, g))\n        ^\n')
[  947s] tb = None
[  947s] 
[  947s]     def reraise(tp, value, tb=None):
[  947s]         if value is None:
[  947s]             value = tp()
[  947s]         if value.__traceback__ is not tb:
[  947s] >           raise value.with_traceback(tb)
[  947s] E           numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
[  947s] E           Internal error at <numba.core.typeinfer.CallConstraint object at 0xa59c56d0>.
[  947s] E           Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=42[LoopNest(index_variable = parfor_index.2348, range = (0, p_size0.2342, 1))]{42: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)>}Var(parfor_index.2348, autoblock.py:106)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (106)
[  947s] E           [2] During: resolving callee type: type(CPUDispatcher(<function subselect at 0xa8c5b5c8>))
[  947s] E           [3] During: typing of call at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/linalg/autoblock.py (203)
[  947s] E           
[  947s] E           Enable logging at debug level for details.
[  947s] E           
[  947s] E           File "quimb/linalg/autoblock.py", line 203:
[  947s] E           def _eigvalsh_autoblocked(A, sort=True):  # pragma: no cover
[  947s] E               <source elided>
[  947s] E           
[  947s] E                   el[g] = np.linalg.eigvalsh(subselect(A, g))
[  947s] E                   ^
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/core/utils.py:80: TypingError
[  947s] ____________ TestMatrixProductState.test_canonize_cyclic[complex-0] ____________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa312c1d8>
[  947s] dtype = <class 'complex'>, block = 0
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.25329618
[  947s] E       Max relative difference: 0.25329618
[  947s] E        x: array(0.746704)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] ___________ TestMatrixProductState.test_canonize_cyclic[complex-20] ____________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa59c5b38>
[  947s] dtype = <class 'complex'>, block = 20
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.7193348
[  947s] E       Max relative difference: 0.7193348
[  947s] E        x: array(0.280665)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] ___________ TestMatrixProductState.test_canonize_cyclic[complex-39] ____________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa37dc7d8>
[  947s] dtype = <class 'complex'>, block = 39
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.16971513
[  947s] E       Max relative difference: 0.16971513
[  947s] E        x: array(0.830285)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] _________ TestMatrixProductState.test_canonize_cyclic[complex-block3] __________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa37dc868>
[  947s] dtype = <class 'complex'>, block = slice(0, 5, None)
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.07123741
[  947s] E       Max relative difference: 0.07123741
[  947s] E        x: array(0.928763)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] _________ TestMatrixProductState.test_canonize_cyclic[complex-block4] __________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa37dcef8>
[  947s] dtype = <class 'complex'>, block = slice(20, 25, None)
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 5.62614684
[  947s] E       Max relative difference: 5.62614684
[  947s] E        x: array(6.626147)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] _________ TestMatrixProductState.test_canonize_cyclic[complex-block5] __________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa6275cb8>
[  947s] dtype = <class 'complex'>, block = slice(35, 40, None)
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 5.17436508
[  947s] E       Max relative difference: 5.17436508
[  947s] E        x: array(6.174365)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] _________ TestMatrixProductState.test_canonize_cyclic[complex-block6] __________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa38770b8>
[  947s] dtype = <class 'complex'>, block = slice(38, 42, None)
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.05200144
[  947s] E       Max relative difference: 0.05200144
[  947s] E        x: array(0.947999)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] _________ TestMatrixProductState.test_canonize_cyclic[complex-block7] __________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa5976f28>
[  947s] dtype = <class 'complex'>, block = slice(-3, 2, None)
[  947s] 
[  947s]     @pytest.mark.parametrize("block", [
[  947s]         0, 20, 39,
[  947s]         slice(0, 5),
[  947s]         slice(20, 25),
[  947s]         slice(35, 40),
[  947s]         slice(38, 42),
[  947s]         slice(-3, 2)
[  947s]     ])
[  947s]     @pytest.mark.parametrize("dtype", [float, complex])
[  947s]     def test_canonize_cyclic(self, dtype, block):
[  947s]         k = MPS_rand_state(40, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         k.add_tag('KET')
[  947s]         b.add_tag('BRA')
[  947s]         kb = (b | k)
[  947s]     
[  947s]         assert not np.allclose(k[block].H @ k[block], 1.0)
[  947s]         assert not np.allclose(b[block].H @ b[block], 1.0)
[  947s]         k.canonize_cyclic(block, bra=b)
[  947s] >       assert_allclose(k[block].H @ k[block], 1.0, rtol=2e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0002, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.0482599
[  947s] E       Max relative difference: 0.0482599
[  947s] E        x: array(0.95174)
[  947s] E        y: array(1.)
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:447: AssertionError
[  947s] ____________________ TestMatrixProductState.test_gate_split ____________________
[  947s] 
[  947s] self = <test_tensor_1d.TestMatrixProductState object at 0xa57dc820>
[  947s] 
[  947s]     def test_gate_split(self):
[  947s]         psi = MPS_rand_state(10, 3)
[  947s]         psi2 = psi.copy()
[  947s]         G = qu.eye(2) & qu.eye(2)
[  947s]         psi.gate_split_(G, (2, 3), cutoff=0)
[  947s]         assert psi.bond_size(2, 3) == 6
[  947s]         assert psi.H @ psi2 == pytest.approx(1.0)
[  947s]     
[  947s]         # check a unitary application
[  947s]         G = qu.rand_uni(2**2)
[  947s]         psi.gate_split_(G, (7, 8))
[  947s]         psi.compress()
[  947s]         assert psi.bond_size(2, 3) == 3
[  947s]         assert psi.bond_size(7, 8) > 3
[  947s]         assert psi.H @ psi == pytest.approx(1.0)
[  947s]         assert abs(psi2.H @ psi) < 1.0
[  947s]     
[  947s]         # check matches dense application of gate
[  947s]         psid = psi2.to_dense()
[  947s] >       Gd = qu.ikron(G, [2] * 10, (7, 8))
[  947s] 
[  947s] tests/test_tensor/test_tensor_1d.py:560: 
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] quimb/core.py:1708: in ikron
[  947s]     return kron(*gen_ops(), stype=stype, coo_build=coo_build,
[  947s] quimb/core.py:1286: in kron
[  947s]     X = _kron_core(*ops, **core_kws)
[  947s] quimb/core.py:1173: in _kron_core
[  947s]     return reducer(functools.partial(kron_dispatch, stype=tmp_stype), ops)
[  947s] quimb/core.py:799: in kron_dispatch
[  947s]     return kron_dense(a, b)
[  947s] quimb/core.py:238: in qarray_fn
[  947s]     out = fn(*args, **kwargs)
[  947s] quimb/core.py:771: in kron_dense
[  947s]     _nb_kron_exp_par(a, b, out, m, n, p, q)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:420: in _compile_for_args
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:353: in _compile_for_args
[  947s]     return self.compile(tuple(argtypes))
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:794: in compile
[  947s]     cres = self._compiler.compile(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:77: in compile
[  947s]     status, retval = self._compile_cached(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:91: in _compile_cached
[  947s]     retval = self._compile_core(args, return_type)
[  947s] /usr/lib/python3.8/site-packages/numba/core/dispatcher.py:104: in _compile_core
[  947s]     cres = compiler.compile_extra(self.targetdescr.typing_context,
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:568: in compile_extra
[  947s]     return pipeline.compile_extra(func)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:339: in compile_extra
[  947s]     return self._compile_bytecode()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:401: in _compile_bytecode
[  947s]     return self._compile_core()
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:381: in _compile_core
[  947s]     raise e
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler.py:372: in _compile_core
[  947s]     pm.run(self.state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:341: in run
[  947s]     raise patched_exception
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:332: in run
[  947s]     self._runPass(idx, pass_inst, state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_lock.py:32: in _acquire_compile_lock
[  947s]     return func(*args, **kwargs)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:291: in _runPass
[  947s]     mutated |= check(pss.run_pass, internal_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/compiler_machinery.py:264: in check
[  947s]     mangled = func(compiler_state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:442: in run_pass
[  947s]     NativeLowering().run_pass(state)
[  947s] /usr/lib/python3.8/site-packages/numba/core/typed_passes.py:370: in run_pass
[  947s]     lower.lower()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:179: in lower
[  947s]     self.lower_normal_function(self.fndesc)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:227: in lower_normal_function
[  947s]     entry_block_tail = self.lower_function_body()
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:253: in lower_function_body
[  947s]     self.lower_block(block)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:267: in lower_block
[  947s]     self.lower_inst(inst)
[  947s] /usr/lib/python3.8/site-packages/numba/core/lowering.py:480: in lower_inst
[  947s]     func(self, inst)
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor_lowering.py:43: in _lower_parfor_parallel
[  947s]     ensure_parallel_support()
[  947s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  947s] 
[  947s]     def ensure_parallel_support():
[  947s]         """Check if the platform supports parallel=True and raise if it does not.
[  947s]         """
[  947s]         if config.IS_32BITS:
[  947s]             msg = ("The 'parallel' target is not currently supported on 32 bit "
[  947s]                    "hardware.")
[  947s] >           raise errors.UnsupportedParforsError(msg)
[  947s] E           numba.core.errors.UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
[  947s] E           The 'parallel' target is not currently supported on 32 bit hardware.
[  947s] E           [1] During: lowering "id=45[LoopNest(index_variable = parfor_index.2482, range = (0, m, 1))]{106: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (760)>, 14: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)>, 24: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>, 26: <ir.Block at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (757)>}Var(parfor_index.2482, core.py:756)" at /home/abuild/rpmbuild/BUILD/quimb-1.3.0/quimb/core.py (756)
[  947s] 
[  947s] /usr/lib/python3.8/site-packages/numba/parfors/parfor.py:4426: UnsupportedParforsError
[  947s] _ TestTensorNetworkAsLinearOperator.test_replace_with_svd_using_linear_operator[isvd-complex] _
[  947s] 
[  947s] self = <test_tensor_core.TestTensorNetworkAsLinearOperator object at 0xa5fdb4c0>
[  947s] dtype = <class 'complex'>, method = 'isvd'
[  947s] 
[  947s]     @pytest.mark.parametrize("dtype", (float, complex))
[  947s]     @pytest.mark.parametrize("method", ('isvd', 'rsvd'))
[  947s]     def test_replace_with_svd_using_linear_operator(self, dtype, method):
[  947s]         k = MPS_rand_state(100, 10, dtype=dtype, cyclic=True)
[  947s]         b = k.H
[  947s]         b.expand_bond_dimension(11)
[  947s]         k.add_tag('_KET')
[  947s]         b.add_tag('_BRA')
[  947s]         tn = b & k
[  947s]     
[  947s]         x1 = tn ^ ...
[  947s]     
[  947s]         ul, = tn['_KET', 'I1'].bonds(tn['_KET', 'I2'])
[  947s]         ll, = tn['_BRA', 'I1'].bonds(tn['_BRA', 'I2'])
[  947s]     
[  947s]         where = [f'I{i}' for i in range(2, 40)]
[  947s]     
[  947s]         tn.replace_with_svd(where, left_inds=(ul, ll), eps=1e-3, method=method,
[  947s]                             inplace=True, ltags='_U', rtags='_V')
[  947s]         tn.structure = None
[  947s]         x2 = tn ^ ...
[  947s]     
[  947s]         # check ltags and rtags have gone in
[  947s]         assert isinstance(tn['_U'], Tensor)
[  947s]         assert isinstance(tn['_V'], Tensor)
[  947s]     
[  947s] >       assert_allclose(x1, x2, rtol=1e-4)
[  947s] E       AssertionError: 
[  947s] E       Not equal to tolerance rtol=0.0001, atol=0
[  947s] E       
[  947s] E       Mismatched elements: 1 / 1 (100%)
[  947s] E       Max absolute difference: 0.21190402
[  947s] E       Max relative difference: 0.26758792
[  947s] E        x: array(1.+1.387779e-17j)
[  947s] E        y: array(0.791105-0.035581j)
[  947s] 
[  947s] tests/test_tensor/test_tensor_core.py:1058: AssertionError
jcmgray commented 4 years ago

Sounds like that might be easiest - I'm not sure what's going on here with the other errors I'm afraid! They look like some other numerical functions (I guess also numba) are silently failing and producing the wrong results.

kevinsmia1939 commented 4 years ago

Alright, thanks.