On 08/14/2017 10:27 AM, Jeff Layton wrote:
On 08/14/2017 04:05 AM, Pauli Virtanen wrote:
Ralf Gommers kirjoitti 14.08.2017 klo 09:51:
I'm definitely at a lose here. I have no idea how to make F2PY work
     with the PGI compilers. I'm beginning to think F2PY is completely
     borked unless you use the defaults (gcc).


That's not the case. Here is an example when using the Intel Fortran
compiler together with either MSVC or Intel C compilers:
https://software.intel.com/en-us/articles/building-numpyscipy-with-intel-mkl-and-intel-fortran-on-windows
Note that it is not necessary to use f2py for compiling. It can also
just generate the C and fortran source files necessary --- although you
need to also compile and link in fortranobject.[ch] which are found
inside the numpy folders, and supply the correct Python and numpy
include paths see numpy.get_includes().

I was hoping to avoid this :) I wanted to use f2py as a "module builder" for some code :) However, it appears I will have to go down this path to see if I can get further.

Thanks for the advice!

Jeff





_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to