Skip to content

Commit 736f3c4

Browse files
authored
Merge pull request #229 from pmrv/main
Ensure unique slurm output files
2 parents c2e18bf + 0a50be8 commit 736f3c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

calphy/scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def write_script(self, outfile):
114114
"""
115115
Write the script file
116116
"""
117-
jobout = os.path.join(self.queueoptions["directory"], "slurm.out")
118-
joberr = os.path.join(self.queueoptions["directory"], "slurm.err")
117+
jobout = os.path.join(self.queueoptions["directory"], f"{outfile}.slurm.out")
118+
joberr = os.path.join(self.queueoptions["directory"], f"{outfile}.slurm.err")
119119

120120
with open(outfile, "w") as fout:
121121
fout.write(self.queueoptions["header"])

0 commit comments

Comments
 (0)