Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting pestpp-glm from pyemu #433

Closed
Paszka1 opened this issue May 31, 2023 · 4 comments
Closed

Restarting pestpp-glm from pyemu #433

Paszka1 opened this issue May 31, 2023 · 4 comments

Comments

@Paszka1
Copy link

Paszka1 commented May 31, 2023

Is it possible to restart an accidentally interupted parallel pestpp-glm inversion from pyemu, or not? I.e., I would like to avoid restarting from the command line as I'm not sure how to reuse the existing workers.

@mnfienen
Copy link
Collaborator

Hey @Paszka1 - I'm afraid if you have to restart an interrupted run, you have to restart the workers from scratch.

I will experiment a bit with adding the option to include the restart /r string to the command call in start_workers() though

@Paszka1
Copy link
Author

Paszka1 commented May 31, 2023

Provided that I have to restart it from the command line, is it going to be the same procedure as for pest_hp for example? I.e., delete the existing workers, create a series of new ones, start them one-by-one and then start the manager with the /r switch? I am more or less familiar with starting a parallel run with pest_hp - not restarting though - , but I'm confused about panther's role here with pestpp.

@mnfienen
Copy link
Collaborator

Yep - that's basically right. Although if I'm able to update the start_workers() program, you might be able to just restart with that function. Looking at it now...

@mnfienen
Copy link
Collaborator

ok @Paszka1 - there's a pull request in on the develop branch that should allow restarting using start_workers. It will require specifying restart=True and reuse_master=True. You can see the status of the pull request on the link above and give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants