fpt - Example Report: Module Tree
The report shows the Fortran module USE tree in an fpt project. The tree is organised by file, not by module, because this information may then be used to guide the creation of a makefile.
The fpt command to generate the report is:
MODULE References in Files ========================== /home/john/projects/anovar/mod_kinds.f90 Modules Declared: ----------------- MODULE mod_kinds Modules Used: ------------- None /home/john/projects/anovar/mod_convert.f90 Modules Declared: ----------------- MODULE mod_convert Modules Used: ------------- USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements /home/john/projects/anovar/mod_shapes.f90 Modules Declared: ----------------- MODULE mod_shapes Modules Used: ------------- USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements /home/john/projects/anovar/t.f90 Modules Declared: ----------------- None Modules Used: ------------- USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements USE mod_tables FILE: /home/john/projects/anovar/mod_tables.f90 USE mod_shapes FILE: /home/john/projects/anovar/mod_shapes.f90 USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements USE mod_convert FILE: /home/john/projects/anovar/mod_convert.f90 USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements /home/john/projects/anovar/mod_tables.f90 Modules Declared: ----------------- MODULE mod_tables Modules Used: ------------- USE mod_shapes FILE: /home/john/projects/anovar/mod_shapes.f90 USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements USE mod_kinds FILE: /home/john/projects/anovar/mod_kinds.f90 No USE statements
Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.