Hi,<br>
Has anyone ever used f2py with the Cray ftn compiler driver? The compiler driver can drive Cray, Gnu, Intel Fortran compilers, including necessary libraries, via loaded modules. <br>
<br>
Assuming that this has never been done, or that the existing code to do this is unavailable:<br>
<br>
To use Cray ftn with f2py do I need to change the source code under numpy/distutils/fcompiler, as suggested by this blog post?<br>
<a href="https://gehrcke.de/2014/02/building-numpy-and-scipy-with-intel-compilers-and-intel-mkl-on-a-64-bit-machine">https://gehrcke.de/2014/02/building-numpy-and-scipy-with-intel-compilers-and-intel-mkl-on-a-64-bit-machine</a>/<br>
I would need to create a new file, <a href="http://cray.py">cray.py</a> under this directory, contain classes for each of the Cray, Gnu and Intel compilers as invoked by the ftn driver. <br>
<br>
What other files would I need to change? How would I package tests? How would I contribute the resulting code to NumPy?<br>
All the best, Paul<br>
-- <br>
Paul Leopardi <a href="https://sites.google.com/site/paulleopardi/">https://sites.google.com/site/paulleopardi/</a>