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