class_docstr: Base class for `Op`\s using OpenMP.
  
  This `Op` will check that the compiler support correctly OpenMP code.
  If not, it will print a warning and disable OpenMP for this `Op`, then it
  will generate the not OpenMP code.
  
  This is needed, as EPD on the Windows version of ``g++`` says it supports
  OpenMP, but does not include the OpenMP files.
  
  We also add the correct compiler flags in ``c_compile_args``.
code: def __init__(self, openmp: Optional[bool] = None):
      if openmp is None:
          openmp = config.openmp
      self.openmp = openmp
  
imports: import inspect
  import os
  import re
  import warnings
  from collections.abc import Collection
  from re import Pattern
  from typing import TYPE_CHECKING, Any, Callable, ClassVar, Optional, Union, cast
  import numpy
  from pytensor.configdefaults import config
  from pytensor.graph.basic import Apply, Variable
  from pytensor.graph.op import ComputeMapType, Op, StorageMapType, ThunkType
  from pytensor.graph.type import HasDataType
  from pytensor.graph.utils import MethodNotDefined
  from pytensor.link.c.interface import CLinkerOp
  from pytensor.link.c.params_type import ParamsType
  from pytensor.utils import hash_from_code
label_desc: Use image node_id 1 to create a new OpenMPOp object from inherited base classes: COp with example: obj = OpenMPOp(openmp)