c23456789
!$ iam = omp_get_thread_num() + &
!$& index
#ifdef _OPENMP
iam = omp_get_thread_num() + &
index
#endif
The following conditional compilation sentinel is recognized in free form source files:
!$
To enable conditional compilation, a line with a conditional compilation sentinel must satisfy the following criteria:
The sentinel can appear in any column but must be preceded only by white space;
The sentinel must appear as a single word with no intervening white space;
Initial lines must have a blank character after the sentinel; and
Continued lines must have an ampersand as the last non-blank character on the line, prior to any comment appearing on the conditionally compiled line.
Continuation lines can have an ampersand after the sentinel, with optional white space before and after the ampersand. If these criteria are met, the sentinel is replaced by two spaces. If these criteria are not met, the line is left unchanged.