FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SHOW KINDS

Syntax:

[DO NOT] SHOW KINDS

Function:

FPT lists the logical, integer and real kinds which have been used in the code. For each kind used, fpt shows:

If no kind is specified for a symbol fpt infers the kind from the current IMPLICIT type rules and the kinds and data sizes declared by the commands DEFAULT SIZE , CHANGE SIZE and DEFINE KIND.

Where to use these commands:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

No


Example:

The data kinds used in the major climate and weather modelling code, WRF V3.4.1 are:

FPT> show kinds

Logical Kinds
=============

Value Size     Symbols          Literals     Name
           Declared Undecl  Tagged Untagged
   4    4        0    2480       0    8348   KL4


Integer Kinds
=============

Value Size     Symbols          Literals     Name
           Declared Undecl  Tagged Untagged
   1    1       10       0       0       0   KI1
   2    2        8       0       0       0   KI2
   4    4      927   48387      65  172745   KI4
   8    8       97      41      78       0   KI8


Real/Complex Kinds
==================

Value Real     Symbols          Literals     Name
      size Declared Undecl  Tagged Untagged
   4    4     2102   50924   14520  121081   KR4
   8    8     7049     860    2415     726   KR8


Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.