At 4:55 pm +0000 5/3/99, Charles Fisher wrote:
>Glenn:
>
>The option you want to use on Sun's F77 compiler is "-xtypemap=spec".
>>From the man page for f77:
>
> -xtypemap=spec
> Specify default data mappings.
>.....
> The data sizes accepted are
> 64 (real, double, and integer),
> 128 (double),
> and mixed (integer).
Hi Chuck,
I read the sun manpage carefully. -xtypemap does not do what I want. The
f90 code is using 64bit reals and 32bit integers (because it's using the
default type for integers but using selected_real_kind() in a module to
type all reals to 64bit).
What I really want to be able to do is
-xtypemap=real:64,double:64,integer:32 but my reading of the man page
suggests this option doesn't exist. Which is a bit odd because you have -r8
and -i4 options which IS what I want. However, for reasons I've not been
able to figure out, the -r8 -i4 doesn't seem to work.
Hope that makes sense.
Glenn
----
Dr. Glenn Carver, Senior Research Associate,
Centre for Atmospheric Science, Chemistry Dept., Cambridge University, UK
[log in to unmask] http://www.atm.ch.cam.ac.uk/~glenn/
"Genius is one percent inspiration and ninety nine
percent perspiration" Thomas Edison.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|