NAME
fdumpmod - utility for displaying Fortran 95 module informa-
tion
SYNOPSIS
fdumpmod -V
fdumpmod file [ file ... ]
DESCRIPTION
fdumpmod utility displays the version information in module
files generated by the Sun[tm] Studio Fortran 95 compiler.
For each module described in a module information file, the
fdumpmod utility lists the name of the module, the major and
minor version numbers of the module format utilized, a
comma-separated list of flags, and the name of the module
information file.
The flags indicate compilation options with which the module
is compatible. The flags are:
Flag Compatible with
v8 SPARC V8 architecture
v9 SPARC V9 architecture
x86-32 x86 32-bit architecture
x86-64 x86 64-bit architecture
i4 4-byte default INTEGERs
i8 8-byte default INTEGERs
r4 4-byte default REALs
r8 8-byte default REALs
d8 8-byte default DOUBLEs
d16 16-byte default DOUBLEs
n8 8-byte default INTERVALs
n16 16-byte default INTERVALs
a1 1-byte maximum alignment
a2 2-byte maximum alignment
a4 4-byte maximum alignment
a8 8-byte maximum alignment
a16 16-byte maximum alignment
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 1.0 v9,i4,r4,d8,n16,a4 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 1.0 v8,i4,r4,d8,n16,a4 my.modfiles
baz 1.0 v8,i4,r4,d8,n16,a4 my.modfiles
foo 1.0 v9,i4,r4,d8,n16,a4 my.modfiles
baz 1.0 v9,i4,r4,d8,n16,a4 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 this release do not indicate the architec-
ture for which the module was compiled. The fdumpmod utility
prints "v8,v9" for the architecture flags.
SEE ALSO
f95(1).