FDUMPMOD(1)FDUMPMOD(1)NAMEfdumpmod - utility for displaying Fortran 95 module information
SYNOPSISfdumpmod-V
fdumpmod file [ file ... ]
DESCRIPTIONfdumpmod utility displays the version information in module files gen‐
erated by the Oracle Solaris Studio Fortran compiler.
For each module described in a module information file, the fdumpmod
utility lists the name of the module, the major and minor version num‐
bers of the module format utilized, a comma-separated list of values,
and the name of the module information file.
The values indicate compilation options with which the module is com‐
patible. The values are:
Value Compatible with
v8 SPARC V8 architecture
v9 SPARC V9 architecture
x86-32 x86 32-bit architecture
x86-64 x86 64-bit architecture
i2 2-byte default INTEGERs
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 information.
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 -m32
-xarch=sparc (-xarch=v8) and once with -m64 -xarch=sparc (-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 informa‐
tion files, or an archive file containing only module information
files.
WARNING
The module information files produced by versions of the f95 compiler
prior to this release do not indicate the architecture for which the
module was compiled. The fdumpmod utility prints "v8,v9" for the archi‐
tecture values.
SEE ALSOf95(1).
April 2007 FDUMPMOD(1)