[Scipy-tickets] [SciPy] #1331: Scipy on Cray XT when cross-compiling with gnu compilers : error: extension 'scipy.interpolate.dfitpack' has Fortran sources but no Fortran compiler found

SciPy Trac scipy-tickets@scipy....
Mon Nov 29 07:41:47 CST 2010


#1331: Scipy on Cray XT when cross-compiling with gnu compilers : error: extension
'scipy.interpolate.dfitpack' has Fortran sources but no Fortran compiler
found
--------------------------+-------------------------------------------------
 Reporter:  Valene        |       Owner:  cdavid
     Type:  defect        |      Status:  new   
 Priority:  high          |   Milestone:  0.9.0 
Component:  Build issues  |     Version:  0.8.0 
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by rgommers):

 Numpy doesn't contain any Fortran code, so the Fortran compiler is not
 invoked during numpy builds. So it's not surprising that that didn't fail
 for you.

 I'm guessing the version matching is failing for your compiler, that's
 quite fragile. The error you see can be caused by
 {{{CCompiler_get_version()}}} returning none. The {{{version_pattern}}} of
 g95.py is quite specific, so using g95 as alias for your compiler will
 probably fail. What is the output of {{{$ g95 --version}}} for you?

 You can then try to replace the {{{version_pattern}}} attribute in
 distutils/fcompiler/g95.py with something that matches (hacky, but what
 isn't with distutils...). A better solution may be to implement a new
 compiler by adding a file similar to gnu.py or g95.py to
 numpy/distutils/fcompiler/.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1331#comment:4>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list