calling `batchMap` + `submitJob` in a loop triggers "Registry must be empty" error
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 184
- Forks
- 53
- Avg merge
- 7d 2h
- Merged PRs (30d)
- 1
Description
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:
Is this simply not possible?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with R/batchMap.R at the linked lines and reproduce the batchMap plus submitJobs loop against a cluster workflow. Trace when the registry is checked and how jobs are waited on. Done means establishing whether repeated submissions are supported and documenting or correcting the behavior so the outcome is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- hpc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100