code: def find_mpiexec(mpiexec="mpiexec"):
      mpiexec = os.environ.get("MPIEXEC") or mpiexec
      mpiexec = find_executable(mpiexec)
      if not mpiexec and sys.platform.startswith("win"):
          I_MPI_DIR = os.environ.get("I_MPI_DIR", "")
          mpiexec = os.path.join(I_MPI_DIR, "bin", "mpiexec.exe")
          mpiexec = shutil.which(mpiexec)
          if mpiexec:
              mpiexec = shlex.quote(mpiexec)
      if not mpiexec and sys.platform.startswith("win"):
          MSMPI_BIN = os.environ.get("MSMPI_BIN", "")
          mpiexec = os.path.join(MSMPI_BIN, "mpiexec.exe")
          mpiexec = shutil.which(mpiexec)
          if mpiexec:
              mpiexec = shlex.quote(mpiexec)
      return mpiexec
  
imports: import sys
  import os
  import shlex
  import shutil
  import warnings
  import subprocess
  import unittest
  import mpi4py
label_desc: Use image node_id 2 for calling a global function with example usage: find_mpiexec(mpiexec) and returns: mpiexec