Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

fdumpmod(1)

Name

fdumpmod - utility for displaying Fortran 95 module information

Synopsis

fdumpmod -V
fdumpmod file [ file ... ]

Description

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:

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

Example 1 Compiling a file with -xarch=v9.

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
Example 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

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 containing only module information files.

Warnings

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.

See also

f95(1)