Skip to content

Pausing Job Submissions/Workers #469

Answered by jacksund
SWeav02 asked this question in Q&A
Discussion options

You must be logged in to vote

For now, you can pause a cluster but can't pause a worker.

If you submit a worker, it's going to run for as long as you told it too -- unless you kill the worker manually. So running simmate engine start-worker isn't the best idea. It's always better to do something like simmate engine start-worker --nitems-max 10 --close-on-empty-queue.

And to make it so you don't have to keep resubmitting shorter-lived workers, you should use the simmate engine start-cluster --type slurm --continuous command which will maintain a certain amount of short-lived workers submitting/running for you. Then whenever you need to pause things, you can kill the start-cluster process and the short-lived workers wil…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jacksund
Comment options

Answer selected by jacksund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants