[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 08:06:58 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):

 Some more info, so I remember this for next time:

 1. Printed error message "... has Fortran sources but no Fortran compiler
 found" comes from build_clib.py, around line 175.

 2. It is caused by {{{fcompiler}}} being None a few lines above, as
 indicated by the warning above "build_ext: f77_compiler=g95 is not
 available" coming from line 202 of build_ext.py.

 3. That is caused by {{{fcompiler.get_version()}}} being None.

 4. This {{{get_version}}} method is implemented in ccompiler.py as
 {{{CCompiler_get_version}}}. It looks for a {{{version_match}}} method or
 a {{{version_pattern}}} attribute in g95.py (or the specified compiler).
 If those are not implemented, or do not return a match, then None is
 returned.

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


More information about the Scipy-tickets mailing list