docs: def main():
      """
      run a set of jobs on cluster
      """
  
      logging.captureWarnings(True)
      logging.basicConfig(format=('%(asctime)s - %(name)s - %(levelname)s - ' +
                                  '%(message)s'), level=logging.INFO)
  
      print("=====================================")
      print("========   Submit and Wait   ========")
      print("=====================================")
      print("")
  
      functionJobs = make_jobs()
  
      print("sending function jobs to cluster")
      print("")
  
      job_outputs = process_jobs(functionJobs, max_processes=4)
  
      print("results from each job")
      for (i, result) in enumerate(job_outputs):
          print("Job {0}- result: {1}".format(i, result))