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

calling batchMap + submitJob in a loop triggers "Registry must be empty" error #295

Open
MLopez-Ibanez opened this issue Jun 26, 2023 · 1 comment

Comments

@MLopez-Ibanez
Copy link

I would like to call batchMap + submitJobs in a loop to send a bunch of jobs to the cluster. Then, wait for everything to finish. However, I trigger this error:

https://github.com/mllg/batchtools/blob/1196047ed5115d54bde2923848c1f3ec11fda6d2/R/batchMap.R#L61C1-L62C35

Is this simply not possible?

@MLopez-Ibanez MLopez-Ibanez changed the title batchMap cannot be called repeatedly to add more jobs calling batchMap + submitJob in a loop triggers "Registry must be empty" error Jun 26, 2023
@MLopez-Ibanez
Copy link
Author

OK, this seems to be more or less the same as issue #209 and the suggested work-around seems to be to create a new registry every time, which is not great.

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

1 participant