Skip to content

Commit

Permalink
Sets log and err out for SLURM to parameterized step name (#220)
Browse files Browse the repository at this point in the history
Fixes #213 

* First attempt at log name fix.

* Correction to header formatting.
  • Loading branch information
Francesco Di Natale committed Jan 22, 2020
1 parent 3e4e5a5 commit 2ab0db2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maestrowf/interfaces/script/slurmscriptadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def __init__(self, **kwargs):
"queue": "#SBATCH -p {queue}",
"bank": "#SBATCH -A {bank}",
"walltime": "#SBATCH -t {walltime}",
"job-name": "#SBATCH -J {job-name}",
"job-name":
"#SBATCH -J \"{job-name}\"\n"
"#SBATCH -o \"{job-name}.out\"\n"
"#SBATCH -e \"{job-name}.err\"",
"comment": "#SBATCH --comment \"{comment}\""
}

Expand Down

0 comments on commit 2ab0db2

Please sign in to comment.