Closed ZacharyWills closed 1 year ago
I can open an issue describing the problem, but I just built the 3.1.2 version of SUMMA using the Dockerfile in the root of the repo.
Hi @ZacharyWills ,
Thanks for the contribution. Did you build the SUMMA exe from the master
branch by any chance? PR #465 (closed, merged into develop
) contains all the necessary infrastructure to use the wallClockTime
variable.
If you did build the exe from master
, it would be helpful if you can open an issue that explains how you did that. As far as I can tell you shouldn't end up needing wallClockTime
infra if building from master
.
If you did build from develop
, an issue would be helpful too because that should just work.
I'm a little busy today but happy to give a hand figuring this out.
I'll rebuild from both (master is what I used when I got the error) and post a command history of both builds.
Also if you want to pull down the ENV, it's here: https://hub.docker.com/r/zwills/summa3-1-2
So I built both the master branch and the develop branch again, and the develop branch did work.
At this point it looks like the develop branch rolls in the fix, but I'm wondering if the master could merge this before your next large merge so that the master branch works in the interim. (this depends on how long it is until the next merge, which might render this a non-issue) Thanks for your help!
Also here are the images if you want to try yourself:
Thanks for checking. Would you be willing to run one more (hopefully final) test?
I'm speculating that the executable from master
breaks because your setup is asking it to provide an output that it doesn't know about (because the PR that adds variable wallClockTime
hasn't yet been merged into master
). Could you try to remove the wallClockTime
line from your outputControl.wb.txt
file and re-run the master
exe?
If this also solves the problem we can postpone prematurely merging develop
into master
, and we'll have a record of what we discussed and found in case others run into this.
Hi @ZacharyWills , just checking in - have you got everything you need to proceed?
On our side I've tried to see if we have any example outputControl.txt
files out there that specify the wallClockTime
variable without being specific about this needing code from the dev
branch, but I've not been able to find any such files. It would help us ensure consistency between the code base and any examples if you could let us know where you got your outputControl.txt
file from.
Given how this seems solved I'll close it for now. Feel free to re-open an issue if you run into anything else.
To correct an issue where running SUMMA without this correction fails due to fatal error.
Make sure all the relevant boxes are checked (and only check the box if you actually completed the step):
./summa/docs/whats-new.md
or./summa/docs/minor-changes.md
depending on what changed)