Absoft Pro Fortran

Introduction

     Absoft Corporation
     2781 Bond Street
     Rochester Hills, MI 48309 USA
     sales@absoft.com
     Tel: 248.853.0050
     Fax: 248.853.0108

Pro Fortran for Power Macintosh

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.

Pro Fortran for Windows

Absoft Pro Fortran is designed specifically for the Windows environment. It integrates a complete suite of Fortran development tools into a single package, including: a full ANSI Standard Fortran 90 - the result of a five year collaboration between Cray Research and Absoft, an F77 designed for porting legacy workstation code, ANSI C, K&R C, and C++ compilers, all validated using the Plum Hall test suite. All compilers include Pentium and Pentium Pro global optimizers, are link compatible, can be invoked from a single interface, and utilize a common toolset.

Absoft Fortran compilers support popular extensions from Cray, DEC, Microsoft, Sun, HP and Lahey, so porting code from other environments is easy. Pro Fortran is the only Fortran development system to include C/C++ compilers - solving once and for all the problem of mixed language programming compatibility. All Absoft compilers conform to industry standard conventions and are fully link compatible with MS C/C++, Visual BASIC, and other third party tools. Building Fortran-based 32-bit DLLs is a simple compile-time option. A different option automatically generates applications that will run on Win3.1 systems (using Win32s which is included).

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 (Mac only)
   -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 (Mac only)
   -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 (Mac 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 functons 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
Last modified: 29 January 1997
boein@nsc.liu.se