Absoft Pro Fortran

Introduction

     Absoft Corporation
     2781 Bond Street
     Rochester Hills, MI 48309 USA
     sales@absoft.com
     Tel: +1 (248) 8530050
     Fax: +1 (248) 853 0108
Pro Fortran combines the first native, full ANSI standard Fortran 90 for Power Macintosh, the latest PPC version (4.4) of Absoft's best selling VAX compatible FORTRAN 77, and Absoft's PPC native C & C++ compilers into one easy-to-use development system. It enables new code development utilizing the modern features and flexibility of Fortran 90, efficient reuse of proven, legacy FORTRAN 77 code, and mixed F90/F77/C/C++ development from a single environment. A common runtime library and modified linker ensure full link compatibility between each language, so you can utilize F90, F77, and C/C++ code modules in a single application. Pro Fortran generates native PPC code only.

Now also Pro Fortran SDK for Windows is available, see the Absoft page, as well as versions for Linux and Macintosh.

Compilation with Absoft Fortran 90

To compile source code1.f90 in the new free form:

        f90 code1.f90 -o progname

To compile source code2.f in the old fixed form:
        f90 code2.f -o progname

Below is a list of the most important switches for the Absoft Fortran 90 compiler.
   -604         #   Optimize for the PPC 604
   -c           #   Generate object files only
   -dB          #   Perform syntax check only of the source code
   -dp          #   Convert DOUBLE PRECISION to REAL
   -dq          #   Continue compilation after 100 errors (default abort)
   -ea          #   Abort compilation on first error
   -ej          #   One trip DO loops (F66 compatibility)
   -en          #   Generate warnings for all non-standard usage
   -eR          #   Default recursion
   -F           #   Use files for temporary storage
   -f fixed     #   Set source code form to fixed
   -f free      #   Set source code form to free
   -g           #   Generate debugging information
   -gmin        #   Generate minimum debugging information
   -I path      #   Define path to find include files
   -link <arg>  #   Pass  directly to linker
   -macModFiles #   Search {f90includes} for module files
   -N9          #   Frequent Command-period checks
   -N11         #   Use 32-bit branches
   -N124        #   Traceback, prints routines names to stdout
   -O           #   Basic optimizations
   -o file      #   Specify output file name
   -p file      #   Specify module file name
   -p dir       #   Specify directory to look for module files
   -prof        #   Adds profiling code (PPC only)
   -plainappl   #   Create application without MRWE
   -s           #   Force all program storage to be static
   -share       #   Link with shared version of runtime libraries
   -tool        #   Create MPW Tool instead of application
   -V           #   Show compiler version information
   -v           #   Show progress information
   -W80         #   Allow wide format source lines up to 80 columns
   -W132        #   Allow wide format source lines up to 132 columns
   -w           #   Suppress compiler warnings
   -Z number    #   Suppress warning number
   -z number    #   Set warning level

System parameters

System parameters on the PowerPC, using the Absoft Fortran 90 compiler are given here. Compare with the NAG table.

See also the numerical inquiry functions in Appendix 5.8.

LOGICAL              Default
 KIND number =             4
 
INTEGER              Default  INTEGER(1)  INTEGER(2)  INTEGER(4)
 KIND number =             4           1           2           4
      digits =            31           7          15          31
       radix =             2           2           2           2
       range =             9           2           4           9
        huge =    2147483647         127       32767  2147483647
    bit_size =            32           8          16          32
 
REAL                     Default                    REAL(8)
  KIND number =                4                          8
       digits =               24                         53
  maxexponent =              128                       1024
  minexponent =             -125                      -1021
    precision =                6                         15
        radix =                2                          2
        range =               37                        307
      epsilon =     1.192093E-07     2.220446049250313E-016
         tiny =     1.175494E-38     2.225073858507202E-308
         huge =     3.402823E+38     1.797693134862314E+308
  
COMPLEX             Default      COMPLEX(8)         
  KIND number =           4               8
    precision =           6              15
        range =          37             307
Back to Appendix 6
This document was written by Michael Rice of Absoft on the 29 January 1997.
Last modified: 2 March 1998
boein@nsc.liu.se