[SciPy-dev] Re: [Scipy-cvs] CVS update: world/scipy/scipy_distutils/command
pearu at cens.ioc.ee
Tue Sep 17 10:20:08 CDT 2002
On Tue, 17 Sep 2002, Skip Montanaro wrote:
> Pearu> Few comments about Sun compiler support:
> Pearu> 1) Does anyone have idea how many different Sun Fortran are there
> Pearu> available? If there are many, then it is fine to introduce new
> Pearu> compiler classes, may be something like the following:
> Agreed, I suppose. The problem is getting enough heads together to figure
> everything out. I don't think there is a "generic" Fortran compiler for
> Suns. I think it's always been an add-on.
Could we make a list of questions for Sun users and send it to scipy-user
list? Right now I have the following questions in mind:
0) What Fortran 77 and Fortran 90 compiler is in your system? Are there
Internet links to compiler manual pages available?
1) What is the output of the following commands?
Use appropiate command name if it differs from f77 or f90.
2) Do you have the following libraries in your system?:
fsu, F77, M77, sunmath, F77_mt, sunmath_mt, mvec, f77compat, f90
Give also their locations.
3) For expert users: what are desired optimization flags for the Fortran
<add any other questions you feel important>
> Pearu> 2) f90 should not have -fixed option specified as scipy_distutils
> Pearu> should be able to compile also Fortran 90 free format sources,
> Pearu> even if currently there are any F90 sources in Scipy. Note
> Pearu> that there are f2py users that wrap F90 free format codes to
> Pearu> Python.
> I only changed the comment from "why fixed?" to explain to someone without
> the compiler man page available just what the -fixed flag is.
This was my comment that has stayed there for ages already.
I was hoping that someone who produced this code would fix this, or at
least explain the reasons for its need. But now I am pretty sure that this
option will cause problems if someone tries to compiler F90 free format
> Pearu> If your system does not have f77 command (that under Sun should
> Pearu> be kinda "alias" to `f90 -fixed`) then specify fc = 'f90 -fixed'
> Pearu> (though, I doubt that there is a real need for that).
> I believe "f77" on Suns really runs f90 with appropriate flags.
Yes, at least Forte and I guess newer compilers do that. Not sure about
More information about the Scipy-dev