-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove Docker dependency #349
Conversation
Minimum allowed coverage is Generated by 🐒 cobertura-action against 25101eb |
I'm actually thinking of not removing singularity at this time. ComStock uses OpenStudio 3.4.0 and there's not a build of that for CentOS at this time. Plus this PR is getting kind of unwieldy anyway. Thoughts @asparke2? |
This reverts commit 9c00daf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using resstock to test buildstock_docker
-> buildstock_local
here: NREL/resstock#1032
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried using weather_files_path: c:/OpenStudio/resstock/weather
(instead of weather_files_url: https://data.nrel.gov/system/files/156/BuildStock_TMY3_FIPS.zip
) and I get PermissionError: [Errno 13] Permission denied: 'c:\\OpenStudio\\resstock\\weather'
.
Does weather_files_path
need to be a zip? Can we support a folder, or is this a future item to address?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the resstock test branch, this appears to be working as expected. I do see just a few rounding differences in annual simulation output, but they are very small. I'll leave it up to you whether to address the weather folder issue in my previous comment.
Currently the weather files path does need to be a zip file. That's kind of a hold over from the way we do runs elsewhere. I'm open to making that change, but maybe would rather do it as another PR. That could include any other changes we want to port over from |
Fixes #300.
Pull Request Description
This removes the docker dependency for local runs and the singularity dependency for runs on Eagle. Now that OpenStudio is available for more platforms and easier to get and install, the extra hassle of containerizing all the simulations is not worth it. We will still need docker for AWS because the AWS Batch service runs on Elastic Container Service, but this will simplify even that so there's only the one image that needs to be created for that.
Related to #327 since the integration tests for ComStock were tripping up becase of the custom gems. I intend to get the custom gems stuff working again in #344 after this gets merged. Having the integration tests there will ensure the code works for its intended use case. @asparke2
I would also like to see this supercede
run_analysis.rb
at some point, so we should add the features that are nice to have there to this, then we can get away with only maintaining the one thing. @joseph-robertsonChecklist
Not all may apply
LocalDockerBatch
to remove docker and change name toLocalBatch
buildstock_docker
->buildstock_local
UpdateEagleBatch
to remove singularityminimum_coverage
in.github/workflows/ci.yml
as necessary.Update validation for project config yaml file changes