pythran: numpy.dot compiling fails (python 3.6, IPython 6.1.0, Pythran 0.8.5, win10)

Hi, First of all, thanks for this awesome package.

I have an issue and a question:

1 - I am trying to compile a function with numpy.dot product and the compiling fails (but if I remove the part with the dot product and leave the rest it works, aleternatively, if I only leave the dot product it fails): eg: %load_ext pythran.magic %%pythran #pythran export fun(float[][],float[][]) import numpy as np def fun(A,B): return np.dot(B.A)

Any thoughts?

2 -My question is about the compiling. In IPyhton, I often create functions in seperate files that I call like modules, as long as they are in the same directory as my working directory. How can I call such a file compiled with Pythran?

Thanks a lot

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

#1296 introduces a solution to this: depend on the pythran-openblas package which ships a static version of openblas. Eventually this is going to solve your issue (and to be the default for windows)