Skip to content

Commit

Permalink
consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Jan 20, 2025
1 parent 8cc0431 commit 7e9549c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app_runner/src/app_runner/submitter/slurm_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SlurmSubmitterUserParams(BaseModel):
{app_version_yml}
YAML
tee workunit_definition.yml <<'YAML'
tee workunit_definition.yml <<YAML
{workunit_definition_yml}
YAML
Expand Down Expand Up @@ -88,6 +88,7 @@ def submit(self, workunit_wrapper_data: WorkunitWrapperData, specific_params: di
sbatch_bin = self._default_config.config.slurm_root / "bin" / "sbatch"
env = os.environ | {"SLURMROOT": self._default_config.config.slurm_root}
logger.info("Script written to {}", script_path)
# TODO correct working directory logic
# TODO remove after debug
1 / 0
subprocess.run([str(sbatch_bin), str(script_path)], env=env, check=True)

0 comments on commit 7e9549c

Please sign in to comment.