-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description & Motivation
I have this situation:
I will cycling submit batches of VASP jobs. Each job may consume different time. I want to handle each VASP result right after it finished, and submit the next VASP job according to that previous result.
I need to submit each job one-by-one, but not waiting for the previous job until it is done. If the run_submission can be changed to async, then there may be a way to achieve the above needs.
- the submission will wait a long time for the results
- add control on the check interval, because there is no need to wait that long in short job
Pitch
- add
Submission.async_run_submissionasync method - add
check_intervalargument
Additional context
Known bugs:
In LazyLocalContext, the async func runs well, but fail in slurm/pbs system.
Results will be deleted before retrieved if setting clean=True in slurm/pbs system. But setting clean=False will raise error if the same job is submitted again (e.g. running unittest in local).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request