[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 10:02:08 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 Valene):

 Ok I'm using gcc/4.4.2
 ftn --version
 /opt/cray/xt-asyncpe/3.6/bin/ftn: INFO: linux target is being used
 GNU Fortran (GCC) 4.4.2 20091015 (Cray Inc.)
 Copyright (C) 2009 Free Software Foundation, Inc.

 In the g95.py fil I have :
 from numpy.distutils.fcompiler import FCompiler

 compilers = ['G95FCompiler']

 class G95FCompiler(FCompiler):
     compiler_type = 'g95'
     description = 'G95 Fortran Compiler'

 #    version_pattern = r'G95 \((GCC (?P<gccversion>[\d.]+)|.*?) \(g95!\)
 (?P<version>.*)\).*'
     # $ g95 --version
     # G95 (GCC 4.0.3 (g95!) May 22 2006)

     version_pattern = r'G95 \((GCC (?P<gccversion>[\d.]+)|.*?) \(g95
 (?P<version>.*)!\) (?P<date>.*)\).*'
     # $ g95 --version
     # G95 (GCC 4.0.3 (g95 0.90!) Aug 22 2006)

     executables = {
         'version_cmd'  : ["<F90>", "--version"],
         'compiler_f77' : ["ftn", "-ffixed-form"],
         'compiler_fix' : ["ftn", "-ffixed-form"],
         'compiler_f90' : ["ftn"],
         'linker_so'    : ["<F90>","-shared"],
         'archiver'     : ["ar", "-cr"],
         'ranlib'       : ["ranlib"]
         }
 As the info about the version is commented, I don't see how to customize
 it.

 Thanks a lot !

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


More information about the Scipy-tickets mailing list