Controls whether certain aspects of the run-time system and semantic language features within the compiler are compatible with IntelŪ Fortran or Microsoft* Fortran PowerStation.
Windows:
Compatibility > Use Filenames from Command Line (/fpscomp:[no]filesfromcmd)
Compatibility > Use PowerStation I/O Format (/fpscomp:[no]ioformat)
Compatibility > Use PowerStation Portability Library (/fpscomp:[no]libs)
Compatibility > Use PowerStation List-Directed I/O Spacing (/fpscomp:[no]ldio_spacing)
Compatibility > Use PowerStation Logical Values (/fpscomp:[no]logicals)
Compatibility > Use Other PowerStation Run-Time Behavior (/fpscomp:[no]general)
Linux: None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -fpscomp [keyword] -nofpscomp |
Windows: | /fpscomp[:keyword] /nofpscomp |
keyword | Specifies the compatibility that the compiler should follow. Possible values are: | |
none | Specifies that no options should be used for compatibility. | |
Determines what compatibility is used when the OPEN statement FILE= specifier is blank. | ||
|
[no]general |
Determines what compatibility is used when semantics differences exist between Fortran PowerStation and IntelŪ Fortran. |
|
[no]ioformat |
Determines what compatibility is used for list-directed formatted and unformatted I/O. |
|
[no]libs |
Determines whether the portability library is passed to the linker. |
|
[no]ldio_spacing | Determines whether a blank is inserted at run-time after a numeric value before a character value. |
|
[no]logicals | Determines what compatibility is used for representation of LOGICAL values. |
|
all | Specifies that all options should be used for compatibility. |
fpscomp libs | The portability library is passed to the linker. |
This option controls whether certain aspects of the run-time system and semantic language features within the compiler are compatible with Intel Fortran or Microsoft* Fortran PowerStation.
If you experience problems when porting applications from Fortran PowerStation, specify fpscomp (or fpscomp all). When porting applications from Intel Fortran, use fpscomp none or fpscomp libs (the default).
Option |
Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fpscomp none | Specifies that no options should be used for compatibility with Fortran PowerStation. This is the same as specifying nofpscomp.Option fpscomp none enables full IntelŪ Fortran compatibility. If you omit fpscomp, the default is fpscomp libs. You cannot use the fpscomp and vms options in the same command. | ||||||||||||||||||||||||||||||||||||
fpscomp filesfromcmd | Specifies Fortran PowerStation behavior when the OPEN statement
FILE= specifier is blank (FILE=' '). It causes the following actions to
be taken at run-time:
To prevent the run-time system from using the filename specified on the command line when the OPEN statement FILE specifier is omitted, specify fpscomp nofilesfromcmd. This allows the application of Intel Fortran defaults, such as the FORTn environment variable and the FORT.n file name (where n is the unit number). The fpscomp filesfromcmd option affects the following Fortran features:
OPEN(UNIT = 2, FILE = ' ') The following command line assigns the file TEST.DAT to unit 2, prompts the user for a filename to associate with unit 3, then prompts again for a filename to associate with unit 4: opentest test.dat '' ''
| ||||||||||||||||||||||||||||||||||||
fpscomp general | Specifies that Fortran PowerStation semantics should be
used when a difference exists between Intel Fortran and Fortran PowerStation.
The fpscomp general option affects the following
Fortran features:
Note: Allowing files that are not opened with sequential access (such as ACCESS='DIRECT') to be used with the BACKSPACE statement violates the Fortran 95 standard and may be removed in the future.
OPEN (UNIT = 4)
Specifying fpscomp general sets fpscomp ldio_spacing. | ||||||||||||||||||||||||||||||||||||
fpscomp ioformat | Specifies that Fortran PowerStation semantic conventions
and record formats should be used for list-directed formatted and unformatted
I/O. The fpscomp ioformat option affects the following Fortran features:
For 1 <= N < 10**7, use F15.6 for single precision or F24.15 for double. For N < 1 or N >= 10**7, use E15.6E2 for single precision or E24.15E3 for double. See the Fortran PowerStation documentation for more detailed information about the other data types affected.
| ||||||||||||||||||||||||||||||||||||
fpscomp nolibs |
Prevents the portability library from being passed to the linker. | ||||||||||||||||||||||||||||||||||||
fpscomp ldio_spacing |
Specifies that at run time a blank should not be inserted after a numeric value before a character value (undelimited character string). This representation is used by Intel Fortran releases before Version 8.0 and by Fortran PowerStation. If you specify fpscomp general, it sets fpscomp ldio_spacing. | ||||||||||||||||||||||||||||||||||||
fpscomp logicals | Specifies that integers with a non-zero value are treated
as true, integers with a zero value are treated as false. The literal
constant .TRUE. has an integer value of 1, and the literal constant .FALSE.
has an integer value of 0. This representation is used by Intel Fortran
releases before Version 8.0 and by Fortran PowerStation. The default is
fpscomp nologicals, which specifies that odd integer
values (low bit one) are treated as true and even integer values (low
bit zero) are treated as false. The literal constant .TRUE. has an integer
value of -1, and the literal constant .FALSE. has an integer value of
0. This representation is used by Compaq* Visual Fortran. The internal
representation of LOGICAL values is not specified by the Fortran standard.
Programs which use integer values in LOGICAL contexts, or which pass LOGICAL
values to procedures written in other languages, are non-portable and
may not execute correctly. Intel recommends that you avoid coding practices
that depend on the internal representation of LOGICAL values. The fpscomp logical option affects the results of all logical
expressions and affects the return value for the following Fortran features:
| ||||||||||||||||||||||||||||||||||||
fpscomp all | Specifies that all options should be used for compatibility with Fortran PowerStation. This is the same as specifying fpscomp with no keyword. Option fpscomp all enables full compatibility with Fortran PowerStation. |
None
Building Applications: Microsoft Fortran PowerStation Compatible Files