Skip to content

Commit

Permalink
Merge pull request #1702 from pyiron/queue_id_readonly
Browse files Browse the repository at this point in the history
Fix: Setting Queue ID for remote submission
  • Loading branch information
jan-janssen authored Nov 28, 2024
2 parents da5d7cc + 5666e43 commit 5cc1f89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyiron_base/jobs/job/runfunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ def run_job_with_runmode_queue(job: "pyiron_base.jobs.job.generic.GenericJob") -
**job.server.additional_arguments,
)
if que_id is not None:
job.server.queue_id = que_id
with job.server.unlocked():
job.server.queue_id = que_id
job.project_hdf5.write_dict(data_dict={"server": job.server.to_dict()})
print("Queue system id: ", que_id)
else:
Expand Down

0 comments on commit 5cc1f89

Please sign in to comment.