code: def runScript(N):
      script = "elemwise_time_test.py"
      path = os.path.dirname(os.path.abspath(__file__))
      proc = subprocess.Popen(
          ["python", script, "--script", "-N", str(N)],
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
          cwd=path,
      )
      (out, err) = proc.communicate()
      if err:
          print(err)
          sys.exit()
      return list(
          map(float, decode_with(out, console_encoding).split(" "))
      )
  
file_path: Theano/theano/misc/elemwise_openmp_speedup.py
imports: from __future__ import absolute_import, print_function, division
  import os
  import subprocess
  import sys
  from optparse import OptionParser
  from locale import getpreferredencoding
  import theano
  from theano.compat import decode_with
label_desc: Use image node_id 1 for calling a global function with example usage: runScript(N) and returns: list