[SciPy-dev] From F90 to F77

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Nov 6 20:58:21 CST 2007


John Travers wrote:
> On Tue, 2007-11-06 at 16:07 -0500, Pierre GM wrote:
>   
>> All,
>>
>> A few months ago, I wrote a small scipy package calling some Fortran 90 code. 
>> Everything went fine until we tried to compile the package with g77, where 
>> the compiler choked on the slices and FLOOR that were present in the code. 
>> Rewriting the F90 code to get rid of the slices was easy, but I wouldn't want 
>> to mess with FLOOR.
>>
>> What would be the best approach to have access to FLOOR during the build ?
>>
>>     
>
> Why not just use gfortran? g77 is no longer maintained for several years
> whereas gfortran is under very active development and should compile all
> f95/f90/f77 code and even have compatibility with many of g77s bugs (err
> features).
>   
g77 is still used as the default fortran compiler in major distributions 
(ubuntu and debian, for example), and g77 is not ABI compatible with 
gfortran without a lot of efforts.

cheers,

David


More information about the Scipy-dev mailing list