fixed bug with slurm submit file names

This commit is contained in:
Benoît Sierro
2021-08-20 15:00:38 +02:00
parent 7f21f18786
commit bd86487151

View File

@@ -137,7 +137,9 @@ def main():
args.nodes, args.cpus_per_node = distribute(sim_num, args.nodes, args.cpus_per_node)
submit_path = Path("submit " + final_name + "-" + format(datetime.now(), "%Y%m%d%H%M") + ".sh")
submit_path = Path(
"submit " + final_name.replace("/") + "-" + format(datetime.now(), "%Y%m%d%H%M") + ".sh"
)
tmp_path = Path("submit tmp.sh")
job_name = f"supercontinuum {final_name}"