badlands-model/badlands

numba @jit broken with recent

ihowson opened this issue · 0 comments

In partitionTIN.py, we're getting a LoweringError on new macOS/Anaconda installations - at the time of writing, Anaconda 4.0.0 and macOS Sierra.

This is caused by a JIT compilation failure. Workaround is at 63ba682

It's easier to diagnose if you pass the nopython=True to the @jit decorator like so:

@jit(nopython=True)

The error message is a bit deceptive; it isn't an error executing the raise ('Error in the decomposition grid: the number of domains decomposition is not equal to the number of CPUs allocated'). It's an error compiling it.