def METHOD_NAME(job_name):
  envs = []
  if "ps" == job_name:
    envs.append("OMP_NUM_THREADS=1")
    envs.append("KMP_BLOCKTIME=0")
    envs.append("MKL_ENABLE_INSTRUCTIONS=AVX2")
  elif "worker" == job_name:
    envs.append("OMP_NUM_THREADS=6")
    envs.append("KMP_BLOCKTIME=0")
    envs.append("MKL_ENABLE_INSTRUCTIONS=AVX2")
  elif "evaluator" == job_name or "chief" == job_name:
    envs.append("OMP_NUM_THREADS=1")
    envs.append("KMP_BLOCKTIME=0")
    envs.append("MKL_ENABLE_INSTRUCTIONS=AVX2")
  else:
    envs.append("OMP_NUM_THREADS=1")
    envs.append("KMP_BLOCKTIME=0")
    envs.append("MKL_ENABLE_INSTRUCTIONS=AVX2")
  return envs