ignore_tkr
- Date:
05-29-2011
NAME
ignore_tkr - ignore the type, kind, and rank of specified dummy arguments
SYNOPSIS
!DIR$ IGNORE_TKR [ [(letter) dummy_arg] ... ]
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
The IGNORE_TKR directive directs the compiler to ignore the type, kind, and/or rank of specified dummy arguments in a procedure interface.
This directive supports the following arguments:
- letter
The letter can be T, K, or R, or any combination of these letters (for example, TK or KR). The letter applies only to the dummy argument it precedes. If letter appears, dummy_arg must appear.
- dummy_arg
If specified, it indicates the dummy arguments for which TKR rules should be ignored.
If not specified, TKR rules are ignored for all dummy arguments in the procedure that contains the directive.
The directive causes the compiler to ignore the type, kind, and/or rank of the specified dummy arguments when resolving a generic call to a specific call. The compiler also ignores the type, kind, and/or rank on the specified dummy arguments when checking all the specifics in a generic call for ambiguities.
The following directive instructs the compiler to ignore type, kind, and/or rank rules for the dummy arguments of the following subroutine fragment:
subroutine example(A,B,C,D)
!DIR$ IGNORE_TKR A, (R) B, (TK) C, (K) D
Explanation of Ignored TKRs
-----------------------------------------------------
Dummy Argument Ignored
-----------------------------------------------------
A Type, kind and rank is ignored
B Only rank is ignored
C Type and kind is ignored
D Only kind is ignored
-----------------------------------------------------
SEE ALSO
intro_directives(7)
Cray Fortran Reference Manual