Replies: 2 comments 1 reply
-
|
Chat with @john-science and going to try some things HooksMaybe a plugin hook to handle the reloading behavior. The main interface interact BOL kind of does this, and it calls the DB interface to do some loading of the previous point in time. Then, something like the cross section interface could implement the hook to set the cross section library. Which gets me to Core.lib setterI understand wanting to make the core library read only. So we could have the lattice physics interface do So, we could have the OrderThe database interface could implement this hook with a Call this after interact init and before interact BOL |
Beta Was this translation helpful? Give feedback.
-
|
Closing this as we've added some functionality to get around this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We encountered an error where, upon restart, an interface that was expecting to use the core library was unable to use the core library because it could not be found. There are some application specific problems that led to this error.
In this specific case, an interface was operating in a temporary directory and invoked
core.lib. The property will attempt to load from files in the current directory that match the cycle/node pair. However, none of theISOTXS-*files exist in this temporary directory, so no library was loaded. This caused the application to crash b/c it didn't have the core library.But it got me thinking. When we do a restart calculation, should ARMI attempt to reload the cross section library for the restart point?
The main interface handles loading the database and setting the reactor state up. It could attempt to load the core cross section library for the requested time node. Then, all the interfaces have the same runtime data they expect to have.
You would probably want to load the cross section library from the previous time point so that, when you restart, you reflect the xs library you had at runtime.
Beta Was this translation helpful? Give feedback.
All reactions