* IEEE floating-point question
@ 1993-12-28 15:33 Michael W. Rowland
1993-12-28 17:20 ` Steve Lionel
0 siblings, 1 reply; 2+ messages in thread
From: Michael W. Rowland @ 1993-12-28 15:33 UTC (permalink / raw)
I'm looking for some help. I am currently running on a DEC Alpha AXP
3000/400 w/ OSF/1 1.3 and the DEC FORTRAN 3.3 compiler. What I am trying
to do is to output IEEE floating point binary files from a compiled
program that I can FTP to a Sun SPARCstation 10 and read. The
DEC FORTRAN book says I can do it by compiling the DEC program
with the "-assume big_endian" option OR "setenv FORT_CONVERTn BIG_ENDIAN"
and then run the program. These options seem to change the byte order
of everything except the R*4 floating point numbers. They do not change
at all.
Any ideas or experiences with this activity?
Contact me e-mail at 'm.w.rowland@larc.nasa.gov'
Thanks,
Mike Rowland, SAIC
Mike Rowland--SAIC, NASA Langley Research Center
Aerosol Research Branch, M/S 475, Hampton, VA 23681
ph: (804) 864-2691, e-mail: m.w.rowland@larc.nasa.gov
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IEEE floating-point question
1993-12-28 15:33 IEEE floating-point question Michael W. Rowland
@ 1993-12-28 17:20 ` Steve Lionel
0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1993-12-28 17:20 UTC (permalink / raw)
In article <9312281033.AA59928@zorba7.larc.nasa.gov>,
m.w.rowland@larc.nasa.gov (Michael W. Rowland) writes:
|>I'm looking for some help. I am currently running on a DEC Alpha AXP
|>3000/400 w/ OSF/1 1.3 and the DEC FORTRAN 3.3 compiler. What I am trying
|>to do is to output IEEE floating point binary files from a compiled
|>program that I can FTP to a Sun SPARCstation 10 and read. The
|>DEC FORTRAN book says I can do it by compiling the DEC program
|>with the "-assume big_endian" option OR "setenv FORT_CONVERTn BIG_ENDIAN"
|>and then run the program. These options seem to change the byte order
|>of everything except the R*4 floating point numbers. They do not change
|>at all.
|>
First of all, the switch is -convert big_endian; does the manual say -assume?
The man page says -convert. (I know we supported -assume in the past on
RISC ULTRIX, not sure about OSF/1.) I can get it to work with -convert or
setenv using DEC Fortran X3.3-412; I know we had some problems with
big-endian support in the past but thought that this had been solved by the
time V3.3 came out.
If you can come up with a short example that demonstrates the problem, please
send it to me and I'll look into it.
--
Steve Lionel lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062 "Free advice is worth every cent"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-12-28 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-28 15:33 IEEE floating-point question Michael W. Rowland
1993-12-28 17:20 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox