Closed ultrasunix closed 1 year ago
It looks as though this is the same problem, as it has a 32-bit OS installed on 64-bit hardware, and they report no obvious solution to the problem. https://github.com/numba/numba/issues/9027
Does it work when using parallel=False
? If so, we could rely on an environment variable (ARIM_USE_PARALLEL
or similar) to override the value of parallel
. If the environment variable if not set, the default would be True
.
Edit: by any chance, does setting the environment variable NUMBA_NUM_THREADS=1
fix the issue on raspberry?
Setting the NUMBA_NUM_THREADS
environment variable doesn't work unfortunately. I think setting our own environment variable route would work, as setting parallel=False
does work. The ensure_parallel_support()
function which is causes the error relies on numba.core.config.IS_32BITS
, which we could use.
Fixed by #13
There is a @numba:jit function which cannot be adaptable for 32 bit raspbian system (Linux) due to the 'parallel=True' option. There are several places of this issue in the das.py script.