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

Missing error message with Material outputs and "exodus=false" flag #11815

Open
permcody opened this issue Jul 9, 2018 · 5 comments
Open

Missing error message with Material outputs and "exodus=false" flag #11815

permcody opened this issue Jul 9, 2018 · 5 comments
Labels
C: Framework Good first issue P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@permcody
Copy link
Member

permcody commented Jul 9, 2018

Rationale

A user reported that the combination of saying "outputs=exodus" and having the flag "Outputs/exodus=false" does not result in any error message.

https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/moose-users/hijbCFxVGiY/MLL59M2YDAAJ

Description

Make sure that appropriate error messages are reported when conflicting options are supplied.

Impact

minor: usability

@permcody permcody added C: Framework T: task An enhancement to the software. P: normal A defect affecting operation with a low possibility of significantly affects. labels Jul 9, 2018
@shikhar413
Copy link
Contributor

@GiudGiud digging into this a bit more. What I'm finding is that there is an error message ERROR The output object 'exodus' is not a defined output object when Materials/*/outputs=exodus and Outputs/exodus/false, which seems like expected behavior. However, what I'm finding is that when the Outputs block looks like:

[Outputs]
  exodus = true
  [other]
    type = Exodus
  []
[]

and Materials/*/outputs=exodus, then the material property gets outputted to both the input_out.e file and input_other.e file, which seems like incorrect behavior. Should I close this issue and create a new issue that addresses the new problem of material properties getting otuputted to both files?

@GiudGiud
Copy link
Contributor

We need to know which commit fixed the problem if we are going to close this issue.
Opening a new issue for a new problem is fine

@shikhar413
Copy link
Contributor

Hard to tell what the history of this error was without seeing the input file of the Google group user who reported this issue. Looking at the git blame of the code where The output object 'exodus' is not a defined output object error is thrown, this code was not changed after the issue was reported. My feeling is that the user incorrectly reported an error for something that was working properly.

@shikhar413
Copy link
Contributor

Digging into this a bit more, I'm looking at the code from 2018 and the issue might be triggered by the fact that CommonOutputAction back then would create an AddOutputAction action for the Exodus object without assigning a name to it, however this commit by Logan assigns a name to the action created by CommonOutuputAction

90d660e

Hard to exactly pinpoint the root cause of the issue without running an executable from July 2018

@shikhar413
Copy link
Contributor

Regardless, the materials output system is in need of general cleanup / maintenance, and I've created related issues:

#29787
#29781
#29780

I'm also not sure if the keywords Materials/*/outputs = all and Materials/*/outputs = none work as intended, will need to do more testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework Good first issue P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

3 participants