"More SCD consultants recommend Fortran 90."
Version 2 of Cray's Fortran 90 (f90) was installed on all the Cray machines on 18 May 1996. We recommend that you start to use f90 rather than cf77 because:To use the latest compilers (including f90, Version 2) and libraries, you will need to use Cray's new "Programming Environment." (See "New Cray package provides more integrated programming environment," in this issue.) To do this, you just need to add a few lines to your start-up files. (See the section "Fortran and C changes" in the article "User changes in UNICOS 9.0.2" for the required lines.) We recommend that all users start using the Programming Environment, whether or not you use f90.
- f90 is now Cray's "officially supported" Fortran compiler.
- f90, Version 2 is much improved over Version 1 and is now comparable in performance to cf77.
- f90 has many nice, new features.
- Existing cf77 codes should work fine as is under f90.
The f90 programming environment includes the compiler, libraries, and various tools, including:
atchop dbx jt profview atexpert debug jumpview segldr cdbx debugview perfdmp totalview cflint f90 perfview xbrowse cflist flowview procview xhelp cifconv gpp prof
f90 myprog.f # Fixed format source (start in col. 7, etc.) a.out
f90 myprog.f90 # Free-format source a.out
f90 -r0 myprog.f # Get program listing in myprog.lst a.out
f90 -o myprog myprog.f90 # Name the executable myprog
f90 -L /usr/local/lib -l nag myprog.f90 # Include nag library a.out
f90 -c myprog.f90 # Compile, but don't run segldr.