[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 18:01:31 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):

 gfortran 4.x does support Fortran 77. Googling for {{{gfortran  "does not
 support f77"}}} gives me a single result, which is .... a Cray manual.

 Explanation from the manual:
 {{{
     The GNU compiler GCC 4.2.4 does not support the g77 command. The g77
 module was
     removed effective with the upgrade from SLES 9 SP2 to SLES 10 SP1.
 (See Table 8,
     page 87.) Users attempting to use the g77 command receive the
 following message:

 GCC 4.2.4 does not support f77. You may alias f77 to ftn, but GNU does not
 provide a g77 interface with gcc 4.1.1. and there may be some problems
 with
 conflicts of entry point names.

     GCC 4.2.4 does support the gfortran command for compiling Fortran 77
 programs.
     Further, all newer Fortran compilers support programs written in
 Fortran 77.
     Cray recommends that users load the appropriate PrgEnv module and then
 use the
     ftn command to compile Fortran programs. Fortran 77 compilers from PGI
 and
     Pathscale are available but are not supported.
 }}}
 Does that solve your issue?

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


More information about the Scipy-tickets mailing list