Directives are used to provide additional information to the compiler, and to control the compilation of specific code blocks, for example, loops.
To specify a compiler directive in your source file, use:
For free-form Fortran, use
!dir$to indicate a directive, or
!$ompto indicate an OpenMP directive.
For fixed-form Fortran, either
cdir$can be used to indicate a directive, and either
c$ompcan be used to indicate an OpenMP directive.
c$ompmust start from the first column.
To enable OpenMP directives, you must also include the
-fopenmp compiler option in the compile command line.
Directives supported by Arm® Fortran Compiler:
Table of Contents