OBS021 deprecated-omp-include
warning enabled by defaultinclude 'omp_lib.h' instead of the omp_lib module.
Why
omp_lib.h is deprecated by the OpenMP specification; the omp_lib module provides the same routines with explicit interfaces.
Reported
fortran
include 'omp_lib.h'Preferred
fortran
use omp_libSuppressing
For one occurrence, with the reason on the same line (or alone on the line before the statement):
fortran
! fobis: ignore[OBS021] <why this occurrence is fine>For the whole project, ignore = OBS021 in the fobos [lint] section.
Equivalent
Fortitude rule OB211 (see Lint Rules).