Man Page fdumpmod.1
NAME
fdumpmod - utility for displaying Fortran 95 module informa-
tion
SYNOPSIS
fdumpmod -V
fdumpmod file [ file ... ]
DESCRIPTION
fdumpmod utility displays version information present in
module files generated by the Forte Developer Fortran 95
compiler.
For each module described in a module information file, the
fdumpmod utility lists the name of the module, the architec-
ture for which the module was compiled, the major and minor
version numbers, and the name of the module information
file.
If the module information file is contained in an archive
file, both the name of the archive file and the module
information file are listed.
OPTIONS
-V Display fdumpmod version string.
file [ file ... ]
One or more files to be inspected for module informa-
tion.
EXAMPLES
The file foo.f containing
MODULE FOO
END MODULE
MODULE BAZ
END MODULE
is compiled with the -xarch=v9 option, producing foo.mod and
baz.mod.
The command
fdumpmod foo.mod
produces
FOO v9 version 0.16 foo.mod
In the next example, the same file is compiled twice, once
with -xarch=v8 and once with -xarch=v9. The resulting .mod
files are all concatenated together (or archived) onto the
file my.modfiles.
fdumpmod my.modfiles
displays
FOO v8 version 0.16 my.modfiles
BAZ v8 version 0.16 my.modfiles
FOO v9 version 0.16 my.modfiles
BAZ v9 version 0.16 my.modfiles
ERRORS
The fdumpmod command will fail with an error message if the
file is not a module information file, a concatenation of
several module information files, or an archive file con-
taining only module information files.
WARNING
The module information files produced by versions of the f95
compiler prior to the Forte Developer 7 release do not indi-
cate the architecture for which the module was compiled. The
fdumpmod utility prints "v8" for the architecture field for
the file, but that value is only a placeholder.
SEE ALSO
f95(1).