code: def script(experiment, projects):
      
      benchbuild_c = local[local.path(sys.argv[0])]
      slurm_script = local.cwd / experiment.name + "-" + str(
          CFG['slurm']['script'])
  
      srun = local["srun"]
      srun_args = []
      if not CFG["slurm"]["multithread"]:
          srun_args.append("--hint=nomultithread")
      if not CFG["slurm"]["turbo"]:
          srun_args.append("--pstate-turbo=off")
  
      srun = srun[srun_args]
      srun = srun[benchbuild_c["run"]]
  
      return __save__(slurm_script, srun, experiment, projects)
docs: Prepare a slurm script that executes the experiment for a given project.
  
      Args:
          experiment: The experiment we want to execute
          projects: All projects we generate an array job for.