-
Notifications
You must be signed in to change notification settings - Fork 20
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
batchMapQuick chunks not working (on LSF) #10
Comments
Micheal, thank you for the detailed report. Looking into it right now. |
I'm trying to make your life easier because I will submit at least one more ;-) Looking at this again, it might be sufficient to change line 55 to:
The chunk error handling seems to already be provided by the |
Yup, I already did that. Trying to figure out how to add a unit test for that, but will push soon. And keep the feedback coming, it's appreciated. |
It is unit-tested and pushed. |
Yep, that seems to work. Cool, thanks for fixing it so quickly! :-) |
Consider the function below. Each time I have got 4 jobs that should be put in one chunk, but LSF always submits 4 individual jobs disregarding the chunks I specify.
Note: this works fine when specifying the chunks manually (last example).
The problem seems to be lines 55/56 in R/batchMapQuick.R:
Here, the conditions are only true if both chunk.size and n.chunks are given. It should rather be something like:
The text was updated successfully, but these errors were encountered: