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

Jobid feature #55

Merged
merged 12 commits into from
Jun 4, 2020
Merged

Jobid feature #55

merged 12 commits into from
Jun 4, 2020

Conversation

grabear
Copy link
Contributor

@grabear grabear commented May 29, 2020

#54
This PR adds the slurm JobID to the slurm_job object, which is returned after submitting jobs. This will be helpful for create slurm dependencies.

@qdread
Copy link
Contributor

qdread commented May 29, 2020

Thanks for the PR! I think there is an issue here that is causing the travis-ci check to fail. It looks like if you call slurm_apply() or similar with submit = FALSE, the jobid variable isn't defined within the function, so the function returns an error at the final line where it is trying to create the slurm_job object and return it. Since the vignette does this on line 63, the call to slurm_apply() returns an error and the vignette does not build.

@qdread
Copy link
Contributor

qdread commented Jun 1, 2020

Hi again @grabear , I will take over working on this to resolve the error. I am a little nervous it will break backward compatibility as implemented, so I will need to check and make sure before merging the final PR.

@qdread
Copy link
Contributor

qdread commented Jun 1, 2020

@grabear if you don't mind, please give me write access to your forked repo so that I can push a commit on top of your PR commits. thanks!

@grabear
Copy link
Contributor Author

grabear commented Jun 3, 2020

@qdread Hey sorry for the late response. I just started going back to work again. I'll give you permissions on my branch.

@grabear
Copy link
Contributor Author

grabear commented Jun 3, 2020

You're good to go. Seem's like a pretty easy fix. Let me know if you need some assistance!

@qdread
Copy link
Contributor

qdread commented Jun 4, 2020

Sorry for the many commits. The fix itself was easy, but I think the behavior of system(), which we use in the package tests, changed between R 3.6 and R 4.0. So the continuous integration tests are failing. I am working on resolving the issue.

@qdread qdread merged commit 7074a0d into earthlab:master Jun 4, 2020
@grabear
Copy link
Contributor Author

grabear commented Jun 8, 2020

@qdread Cheers! 🍻 Glad you got it working. Sorry for not responding sooner. I have a work account now, so I often forget to check my personal account.

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

Successfully merging this pull request may close these issues.

2 participants