-
Notifications
You must be signed in to change notification settings - Fork 135
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
Revive clusterEvalMode in ARMA #2035
Conversation
5ea3298
to
7a5ea37
Compare
Job Mingw Test on 22dbde7 : invalidated by @joshua-cogliati-inl failed in fetch |
1 similar comment
Job Mingw Test on 22dbde7 : invalidated by @joshua-cogliati-inl failed in fetch |
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.
@joshua-cogliati-inl I have one comment for you to consider.
|
||
clusterEvalModeEnum = InputTypes.makeEnumType('clusterEvalModeEnum', 'clusterEvalModeType', ['clustered', 'truncated', 'full']) | ||
specs.addSub(InputData.parameterInputFactory('clusterEvalMode', contentType=clusterEvalModeEnum)) # for pickled ROMCollection | ||
specs.addSub(InputData.parameterInputFactory('maxCycles', contentType=InputTypes.IntegerType)) # for pickled Interpolated ROMCollection | ||
|
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.
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.
Right now the connection to actually use clusterEvalMode in ARMA is broken, so I have other things to do before that part can be usefully merged.
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 split the code for this into a branch: re_add_to_spec_full, which will be a different pull request. Now this pull request just revives the test since pickledROM is being used.
https://github.com/joshua-cogliati-inl/raven/tree/re_add_to_spec_full
22dbde7
to
5b728e4
Compare
Job Mingw Test on c543937 : invalidated by @wangcj05 fetch failed |
Job Mingw Test on c543937 : invalidated by @joshua-cogliati-inl failed |
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.
changes look good.
PR checklist is satisfied, and PR can be merged. |
Pull Request Description
What issue does this change request address?
Closes #2041
What are the significant changes in functionality due to this change request?
Allows clusterEvalMode again in ARMA.
This is used by inputs in FORCE like: https://github.com/idaholab/FORCE/blob/main/use_cases/2020_12/train/carbontax/oh_carbontax_train.xml
See also commit 16b5f26
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.
<internalParallel>
to True.raven/tests/framework/user_guide
andraven/docs/workshop
) have been changed, the associated documentation must be reviewed and assured the text matches the example.