OpenMP support

IBM® XL Fortran for Linux, V15.1.5 partially supports the OpenMP Application Program Interface Version 4.5 specification. The XL Fortran implementation is based on IBM's interpretation of the OpenMP Application Program Interface 4.5.

New directives

In addition to the existing OpenMP directives, IBM XL Fortran for Linux, V15.1.5 adds support for the following directives and their clauses:
Table 1. OpenMP device constructs
Directive Clause
TARGET DATA
  • IF
  • DEVICE
  • MAP
TARGET ENTER DATA
  • IF
  • DEVICE
  • MAP
TARGET EXIT DATA
  • IF
  • DEVICE
  • MAP
TARGET
  • DEFAULTMAP
  • DEVICE
  • FIRSTPRIVATE
  • IF
  • MAP
  • PRIVATE
TARGET UPDATE
  • DEVICE
  • FROM
  • IF
  • TO
DECLARE TARGET
  • TO
TEAMS
  • DEFAULT
  • FIRSTPRIVATE
  • NUM_TEAMS
  • PRIVATE
  • REDUCTION
  • SHARED
  • THREAD_LIMIT
DISTRIBUTE
  • COLLAPSE
  • DIST_SCHEDULE
  • FIRSTPRIVATE
  • LASTPRIVATE
  • PRIVATE
DISTRIBUTE PARALLEL DO Any clauses that are accepted by the DISTRIBUTE or PARALLEL DO directive except the LINEAR and ORDERED clauses.
The following directives as combined constructs are also supported. For more information, see OpenMP combined constructs.
  • TARGET PARALLEL
  • TARGET PARALLEL DO
  • TARGET TEAMS
  • TARGET TEAMS DISTRIBUTE
  • TARGET TEAMS DISTRIBUTE PARALLEL DO
  • TEAMS DISTRIBUTE
  • TEAMS DISTRIBUTE PARALLEL DO

New routines

In addition to the existing OpenMP routines, IBM XL Fortran for Linux, V15.1.5 supports the following OpenMP execution environment routines:

New environment variables

IBM XL Fortran for Linux, V15.1.5 adds support for the following OpenMP environment variables:


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us