fdumpmod -V fdumpmod file [ file ... ]
fdumpmod utility displays the version information in module files generated 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 numbers 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 compatible. The values are:
SPARC V8 architecture
SPARC V9 architecture
x86 32-bit architecture
x86 64-bit architecture
2-byte default INTEGERs
4-byte default INTEGERs
8-byte default INTEGERs
4-byte default REALs
8-byte default REALs
8-byte default DOUBLEs
16-byte default DOUBLEs
8-byte default INTERVALs
16-byte default INTERVALs
1-byte maximum alignment
2-byte maximum alignment
4-byte maximum alignment
8-byte maximum alignment
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.
Display fdumpmod version string.
One or more files to be inspected for module information.
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.modExample 2 Compiling a file with -xarch=v8 and then with -xarch=v9.
In the following 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.
The command
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
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 containing only module information files.
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 architecture values.