Article View: net.lang.f77
Article #409Cray FORTRAN
From: jerry
Date: Wed, 17 Sep 1986 14:48
Date: Wed, 17 Sep 1986 14:48
28 lines
1963 bytes
1963 bytes
We have just gotten a Cray X-MP/12 running UNICOS, Cray's System V
based UNIX operating system. The Fortran compiler is CFT 1.15. Cray
claims its Fortran follows the 1977 standard. How close it it?
One exception I've noticed so far is that Cray treats EOF like CDC did,
you can have an "end=" clause to detect EOF, or you can test after the
read by "if(eof(5))". To allow this Cray does not kick you off if
there's no data and no "end=" clause. However, Cray kicks you off if
you do two reads with no data and no "end=" and no "if(eof(".
If you're wondering what UNICOS is like, it's quite different from BSD
UNIX. It's based on System V and there are differences between System
V and BSD in every command I've used, except some of the built-in
commands in the shell. For example, "mv" and "cp" don't have the "-i"
option, "rm" has "-i" but you must say "rm -ir" rather than "rm -i -r",
"mv" will not move a directory to a subdirectory, "ls" default is
single column, "diff" does not have "-r" option, ...
CFT is Cray's standard FORTRAN, but the port to UNICOS is new and has
a lot of minor bugs. These are mainly in the I/O library, handling
interrupts, and analyzing options.
Please send me any info you have about CFT vs. the FORTRAN standard.
I'll summarize them to the net.
- Jerry Berkman
Academic Computing Services, U. C. Berkeley (415) 642-4804
jerry@violet.Berkeley.EDU
Technical Details
Message-ID:
<1291@jade.BERKELEY.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!jade!violet.berkeley.edu!jerryShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!jade!violet.berkeley.edu!jerry From: jerry@violet.berkeley.edu Newsgroups: net.lang.f77 Subject: Cray FORTRAN Message-ID: <1291@jade.BERKELEY.EDU> Date: Wed, 17-Sep-86 10:48:10 EDT Article-I.D.: jade.1291 Posted: Wed Sep 17 10:48:10 1986 Date-Received: Fri, 19-Sep-86 22:46:05 EDT Sender: usenet@jade.BERKELEY.EDU Reply-To: jerry@violet.berkeley.edu () Organization: University of California, Berkeley Lines: 28