Skip to content

Commit

Permalink
Revert launch_jobs.py:
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannova committed Aug 7, 2024
1 parent c9dfd31 commit a9bd865
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion merlin/examples/workflows/null_spec/scripts/launch_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
if real_time > 1440:
real_time = 1440
submit: str = "submit.sbatch"
command: str = f"sbatch -J c{concurrency}s{sample}r{args.run_id} --time {real_time} -N {nodes[ii]} -p {partition} -A {account} {submit} {sample} {int(concurrency/nodes[ii])} {args.run_id} {concurrency}"
command: str = (
f"sbatch -J c{concurrency}s{sample}r{args.run_id} --time {real_time} -N {nodes[ii]} -p {partition} -A {account} {submit} {sample} {int(concurrency/nodes[ii])} {args.run_id} {concurrency}"
)
shutil.copyfile(os.path.join(submit_path, submit), submit)
shutil.copyfile(args.spec_path, "spec.yaml")
shutil.copyfile(args.script_path, os.path.join("scripts", "make_samples.py"))
Expand Down

0 comments on commit a9bd865

Please sign in to comment.