sdc icon indicating copy to clipboard operation
sdc copied to clipboard

Problem with example from webpage

Open uweschmitt opened this issue 7 years ago • 3 comments

I managed to install hpat and tried to run https://intellabs.github.io/hpat/_build/html/source/supported.html#numpy-dot-parallelization

I got

Traceback (most recent call last):
  File "/Users/uweschmitt/miniconda3/envs/HPAT/lib/python3.6/site-packages/numba/targets/options.py", line 17, in from_dict
    ctor = self.OPTIONS[k]
KeyError: 'user_pipeline_funcs'

numba version is 0.37.

Any advice how to fix this ?

uweschmitt avatar Feb 22 '18 20:02 uweschmitt

HPAT needs a specific version of Numba which is available in the channel. I think you are using the regular Numba.

You can try conda install numba -c ehsantn or install HPAT in a new Conda environment from scratch.

ehsantn avatar Feb 22 '18 20:02 ehsantn

Thanks, will try this. Maybe you want to add this to the installation instructions on the website.

uweschmitt avatar Feb 23 '18 07:02 uweschmitt

Sure, I'll see how we can mitigate this. This issue will be resolved since standard Numba will support HPAT sometime soon.

ehsantn avatar Feb 23 '18 13:02 ehsantn