FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SHOW MODULE TREE

Syntax:

[DO NOT] SHOW MODULE TREE

[DO NOT] SHOW MODULE STRUCTURE

[DO NOT] SHOW MODULES

MODULE TREE

Function:

FPT lists the primary files in alphabetical order, and, for each file, the modules declared and the module tree for the modules used. The nesting level of modules is indicated by indentation.

The interactive display may be stopped by the command STOP, which is made to the Page> prompt.

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:

A section of a module tree listing is shown below. Nesting of modules referenced by USE statements is shown by indentation. The file names of the used modules are shown and the nesting includes all modules used in the same file as the module referenced in a USE statement. This is done so that the module tree may be used to construct a makefile.

q:\wrf\wrfv3.4.1\gfortran\wrfv3_pre_fpt\dyn_em\module_diffusion_em.f90
 
   Modules Declared:
   -----------------
   MODULE module_diffusion_em
 
   Modules Used:
   -------------
   USE module_bc
   FILE: q:\wrf\wrfv3.4.1\gfortran\wrfv3_pre_fpt\share\module_bc.f90
      USE module_configure
      FILE: ...rf\wrfv3.4.1\gfortran\wrfv3_pre_fpt\frame\module_configure.f90
         USE module_driver_constants
         FILE: ....1\gfortran\wrfv3_pre_fpt\frame\module_driver_constants.f90
            USE module_driver_constants
               In current file
         USE module_state_description
         FILE: ...1\gfortran\wrfv3_pre_fpt\frame\module_state_description.f90
            No USE statements
         USE module_domain_type
         FILE: ...fv3.4.1\gfortran\wrfv3_pre_fpt\frame\module_domain_type.f90
            USE module_driver_constants
            FILE: ...gfortran\wrfv3_pre_fpt\frame\module_driver_constants.f90
               USE module_driver_constants
                  In current file
            USE module_utility
            FILE: ...\wrfv3_pre_fpt\external\esmf_time_f90\module_utility.f90
               USE module_symbols_util
               FILE: ...re_fpt\external\esmf_time_f90\module_symbols_util.f90
                  USE esmf_mod
                  FILE: ...\wrfv3_pre_fpt\external\esmf_time_f90\esmf_mod.f90
                     USE esmf_alarmmod
                     FILE: ...3_pre_fpt\external\esmf_time_f90\esmf_alarm.f90
                        USE esmf_basemod
                        FILE: ...pre_fpt\external\esmf_time_f90\esmf_base.f90
                           No USE statements
                        USE esmf_timeintervalmod
                        FILE: ...external\esmf_time_f90\esmf_timeinterval.f90
                           USE esmf_basemod
                           FILE: ..._fpt\external\esmf_time_f90\esmf_base.f90
                              No USE statements
                           USE esmf_basetimemod
                           FILE: ...\external\esmf_time_f90\esmf_basetime.f90
                              USE esmf_basemod


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