home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2898 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.8 KB

  1. Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!spam!jnixon
  2. From: jnixon@spam.ua.oz (John Nixon)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Portability of DIRECT UNFORMATTED data files?
  5. Summary: CRAY IEEE = Sun C
  6. Keywords: CRAY, IEEE, SUN, C, DIRECT, UNFORMATTED
  7. Message-ID: <1630@spam.ua.oz>
  8. Date: 30 Jul 92 23:55:26 GMT
  9. References: <1992Jul29.111524.1@lure.latrobe.edu.au> <Bs5F3H.AB0@news.udel.edu>
  10. Followup-To: comp.lang.fortran
  11. Organization: Statistics, Pure & Applied Mathematics, University of Adelaide
  12. Lines: 31
  13.  
  14. In article <Bs5F3H.AB0@news.udel.edu> mccalpin@perelandra.cms.udel.edu (John D. McCalpin) writes:
  15.  
  16. >There is a growing range of machines for which Fortran direct access files
  17. >use the same internal format.  Right now I share Fortran DA files between
  18. >Sun, Silicon Graphics, and IBM RS/6000 machines completely transparently.
  19.  
  20. Add to the list CRAY (see below).
  21.  
  22. >(Note: the OPEN statement on the SGI may differ, since the RECL= parameter
  23. >is in 32-bit words, while Sun & IBM use a RECL of bytes.)
  24.  
  25. This is correct for the CRAY too, you need the OS to do 64 bit to 32 bit
  26. translation.
  27.  
  28. >These machines also use identical formats for Fortran sequential unformatted
  29. >files.
  30.  
  31. Not so for the CRAY.
  32.  
  33. >I am told that there exist options in Cray Fortran to output IEEE binary
  34. >files.  I do not know if they implement exact compatibility with the
  35. >Sun/SGI/IBM machines for DA files or for sequential unformatted files.
  36.  
  37. Yes (see above), but you need to either read them with a C program, or
  38. use direct access.  For an answer to this question, see my previous
  39. posting.
  40.  
  41. --
  42. John Nixon {Research Dude} jnixon@spam.maths.adelaide.edu.au [08 228-5407]
  43. Department of Applied Mathematics, The University of Adelaide, SA, AUSTRALIA
  44. "Anonymous Techno Act" Sample of the Week: "Music & noise.  Noise & music."
  45.