Menu

#18 RELAP-7 and MARMOT take too long to load in Model Builder

1.0
closed
None
5
2014-10-27
2014-10-27
No

When setting the MOOSE app in the MOOSE Model Builder, RELAP-7 and MARMOT trees take very long to load (5-10 seconds); RELAP-7 takes the longest. While this is happening, the message "ICEFormEditor Message: State changed to dirty." is slowly being printed to the console (for each block). This is odd because the BISON YAML file is about 35k lines longer, but still loads quicker.

It's not clear if this is a front end or backend issue; probably will need to perform some sort of memory profiling to figure out where the problem is.

Related

MOOSE Bugs: #18

Discussion

  • Anna Wojtowicz

    Anna Wojtowicz - 2014-10-27

    Alright, this is a of consequence of the MOOSEModel.mergeInputIntoYaml() method being so daggum complicated. In particular, when I comment out the entire else if block starting at line 1220, the loading time instantly improved dramatically.

    The section in question would come into play when a top-level block was read in that wasn't found in the YAML file. It would try to discern if the unmatched block is left-over from the last loaded YAML tree (in which case, toss it out), or is a custom block created by the user (in which case, keep it).

    This was a duct-tapey fix I implemented when we were running into trouble with the "Output" vs. "Outputs" block names not matching (due to our YAML files being out of date), and can be really inefficient. I can try to fix it up to be more efficient, or we can just do away with it altogether as the BISON team did say there should never be any custom top-level blocks.

     
  • Anna Wojtowicz

    Anna Wojtowicz - 2014-10-27
    • assigned_to: Anna Wojtowicz
     
    • Jay Jay Billings

      Given what the Bison team said, I vote to dump it.

      Jay
      On Oct 27, 2014 3:38 PM, "Anna Wojtowicz" awoj@users.sf.net wrote:

      • assigned_to: Anna Wojtowicz

      Status: open
      Milestone: 1.0
      Created: Mon Oct 27, 2014 07:04 PM UTC by Anna Wojtowicz
      Last Updated: Mon Oct 27, 2014 07:34 PM UTC
      Owner: Anna Wojtowicz

      When setting the MOOSE app in the MOOSE Model Builder, RELAP-7 and MARMOT
      trees take very long to load (5-10 seconds); RELAP-7 takes the longest.
      While this is happening, the message "ICEFormEditor Message: State changed
      to dirty." is slowly being printed to the console (for each block). This is
      odd because the BISON YAML file is about 35k lines longer, but still loads
      quicker.

      It's not clear if this is a front end or backend issue; probably will need
      to perform some sort of memory profiling to figure out where the problem is.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/niceproject/moosebugs/18/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      MOOSE Bugs: #18

  • Anna Wojtowicz

    Anna Wojtowicz - 2014-10-27
    • status: open --> closed
     
  • Anna Wojtowicz

    Anna Wojtowicz - 2014-10-27

    I GOT 99 PROBLEMS BUT TOGGLING BETWEEN TREES AIN'T ONE OF THEM

     

Log in to post a comment.

MongoDB Logo MongoDB