home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / fortran / 3074 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!munnari.oz.au!uniwa!mfavas
  3. From: mfavas@uniwa.uwa.edu.au (Mark Favas)
  4. Subject: Portability - I/O, time, date, byte order
  5. Message-ID: <1992Aug18.032337.20325@uniwa.uwa.edu.au>
  6. Organization: University of Western Australia
  7. Date: Tue, 18 Aug 1992 03:23:37 GMT
  8. Lines: 32
  9.  
  10. I'm trying to collect together information related to the portability of fortran
  11. code. At the moment I am just concerned with Unix-based machines. I have access
  12. to the following Unix boxes: Sun, DEC (MIPS-based running Ultrix), Sony,
  13. Silicon Graphics, and HP 9000/700 series. If you have some other type of Unix
  14. box, and could spare the time,  I would appreciate answers to these questions 
  15. (especially for IBM RS/6000 machines).
  16. Please email your responses (I'll summarize if there's enough interest).
  17.  
  18. (1) I need to know in what units the record length of unformatted direct access
  19. files must be specified in an OPEN statement. On some machines it is in bytes,
  20.  in others words. If in words I need to know the wordsize in bytes.
  21.  
  22. (2) The library routine returning the elapsed CPU time for a job. Usually this
  23. is ETIME, but not all systems have it. I also need to know the type of the
  24. function (REAL*4 or REAL*8) since this varies, and how it is called, and the
  25. type of the arguments, if any.
  26.  
  27. (3) The library routine returning the wall-clock time. This is usually ITIME.
  28. Again, I need the type of the function, and arguments etc.
  29.  
  30. (4) The library routine returning the current date as a character string
  31. (commonly FDATE), or, failing that, as an integer array (commonly IDATE).
  32. Again, arguments and types etc.
  33.  
  34. (5) Byte order - is it big-endian (1234 as in Sun) or little-endian (4321 as in
  35. DEC or VAXen)
  36.  
  37. Thanks in advance.
  38.  
  39. Mark C Favas
  40. Department of Chemistry
  41. The University of Western Australia    mark@crystal.uwa.edu.au
  42.