fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref 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.
MODULE References in Files ========================== wrf_re-eng/UCAR_clean_build/WRFV3/dyn_em/adapt_timestep_em.F Modules Declared: ----------------- None Modules Used: ------------- USE module_domain FILE: wrf_re-eng/UCAR_clean_build/WRFV3/frame/module_domain.F USE module_driver_constants FILE: wrf_re-eng/UCAR_clean_build/WRFV3/frame/module_driver_constants.F USE module_driver_constants In current file USE module_machine FILE: wrf_re-eng/UCAR_clean_build/WRFV3/frame/module_machine.F USE module_driver_constants FILE: ...-eng/UCAR_clean_build/WRFV3/frame/module_driver_constants.F USE module_driver_constants In current file USE module_configure FILE: wrf_re-eng/UCAR_clean_build/WRFV3/frame/module_configure.F USE module_driver_constants FILE: ...-eng/UCAR_clean_build/WRFV3/frame/module_driver_constants.F USE module_driver_constants In current file USE module_state_description FILE: ...eng/UCAR_clean_build/WRFV3/frame/module_state_description.F No USE statements USE module_domain_type FILE: wrf_re-eng/UCAR_clean_build/WRFV3/frame/module_domain_type.F USE module_driver_constants FILE: ...g/UCAR_clean_build/WRFV3/frame/module_driver_constants.F USE module_driver_constants In current file USE module_utility FILE: ...an_build/WRFV3/external/esmf_time_f90/module_utility.F90 USE module_symbols_util FILE: .../WRFV3/external/esmf_time_f90/module_symbols_util.F90 USE esmf_mod FILE: ...an_build/WRFV3/external/esmf_time_f90/ESMF_Mod.F90 USE esmf_alarmmod FILE: ...ild/WRFV3/external/esmf_time_f90/ESMF_Alarm.F90 USE esmf_basemod FILE: ...e/WRFV3/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: ...RFV3/external/esmf_time_f90/ESMF_Base.F90 No USE statements USE esmf_basetimemod FILE: .../external/esmf_time_f90/ESMF_BaseTime.F90 USE esmf_basemod FILE: ...3/external/esmf_time_f90/ESMF_Base.F90 No USE statements
The listing continues
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.