You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request came up on the AthenaPK matrix channel.
I think the easiest approach is to
add a new type that prevents any reduction from happening
with the callback function that is called by all ranks (so no changes), but for which only the value returned from rank 0 is actually being used (as it's the rank that already does the writing to the output file)
Thus, no additional changes are required and downstream codes only need to ensure that the desired value is properly available (returned) by rank 0.
Here are some pointer on how to tackle the implementation:
Add bew UserHistoryOperation type, e.g., None here
This request came up on the AthenaPK matrix channel.
I think the easiest approach is to
Thus, no additional changes are required and downstream codes only need to ensure that the desired value is properly available (returned) by rank 0.
Here are some pointer on how to tackle the implementation:
UserHistoryOperation
type, e.g.,None
hereparthenon/src/defs.hpp
Line 168 in 14363c9
parthenon/src/outputs/history.cpp
Line 58 in 14363c9
None
type hereparthenon/src/outputs/history.cpp
Line 151 in 14363c9
parthenon/doc/sphinx/src/interface/state.rst
Line 197 in 14363c9
Unrelated: I just noticed that we seem to only support
Real
values in history files. Does this cause any issues for anyone at the moment?The text was updated successfully, but these errors were encountered: