code: def omp_parallel_num_threads():
      import omp
  
      max_threads = 0
      failed = 0
  
      if "omp parallel":
          if "omp master":
              max_threads = omp.get_num_threads()
  
      for threads in range(1, max_threads + 1):
          nthreads = 0
          if "omp parallel reduction(+:failed) num_threads(threads)":
              failed += threads != omp.get_num_threads()
              "omp atomic"
              nthreads += 1
          failed += nthreads != threads
  
      return not failed
  
label_desc: Use image node_id 1 for calling a global function with example usage: omp_parallel_num_threads() and returns: unknown