-
Notifications
You must be signed in to change notification settings - Fork 1k
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
PerfGraph errors out when used with Reference Residual Problem #13495
Comments
Well, the section is called |
Yeah, |
This was changed intentionally so that Multiapps would print more useful information. Prior to that change you'd get a list of FEProblem::foo type outputs that were all about the same for each Multiapp. You may be right that it's not ideal, but now you have the reasons for that change. |
Super, sounds like it's an easy change for me to make in my action. I'll make a pull request with a test case with the correction that @dschwen gave for my example test problem as well, just in case anyone else runs into a similar issue as me |
The Action BASE CLASS has a _problem pointer on it. The easy thing to do is
to dynamically cast that to a specific type and check if it succeeded or
not. Note that the pointer will be NULL at the beginning of the simulation
and during the build of the mesh so there won't be anything to do but I bet
your Action runs at a later time when the problem already exists.
…On Thu, May 30, 2019 at 4:04 PM Stephanie Pitts ***@***.***> wrote:
Super, sounds like it's an easy change for me to make in my action. Is
there a way to check within an action to see if ReferenceResidualProblem is
or is not present in an input file? We've got a mix of both in the Bison
assessment case repository and I'd like to avoid introducing a bazillion
parameters in the action if possible
I'll make a pull request with a test case with the correction that
@dschwen <https://github.com/dschwen> gave for my example test problem as
well, just in case anyone else runs into a similar issue as me
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13495?email_source=notifications&email_token=AAXFOIGBYM72T3OGT7TLLSDPYAXOBA5CNFSM4HRH7KTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTLYQA#issuecomment-497466432>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXFOIGFHTD37B6QGXG2XYTPYAXOBANCNFSM4HRH7KTA>
.
|
Bug Description
When trying to use the
PerfGraphData
postprocessor to collect timing/number of calls for residual and jacobian calculations in input files which useReferenceResidualProblem
, the simulations throw an error in the first timestep:Steps to Reproduce
I've modified an existing regression test for the reference residual problem by adding the PerfGraphData postprocessor for the residual calculation taken from the print_perf_data.i regression test, included in the dropdown below.
Input File to Reproduce the Problem:
Impact
This error caused a large number of failures in the Bison assessment cases when I tried to add the PerfGraphData pp to all of the assessment cases via an action. We would very much like to use the timing and/or calls of the residual and jacobian computations in our milestone that is due in June if possible.
@permcody and/or @friedmud could I ask you to help me determine if and how we could fix this error please? @bwspenc, @dschwen, @gardnerru, and @tophmatthews this is the regression test I promised in the Bison 1692 merge request
The text was updated successfully, but these errors were encountered: