File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,3 +221,17 @@ A quick list of Answered Questions for new people (and not so much) to ROSS.
221221 are created or create several different pools for every single event type
222222 (challenging to support cleanly and also very inefficient - will lead to more
223223 problems than it solves), and so on and on.
224+
225+ - My model produces correct results in serial mode but it glitches on optimistic mode. No,
226+ it's not segfaulting. It runs, but its output is weird. The more ranks/cores I use the
227+ more it fails. What is happening?
228+
229+ There are many possible reasons for this to be happening, but one that has made almost
230+ every ROSS developer suffer is _ messing with the message state_ . Sometimes reverse
231+ computation is not enough to reverse an LP state. You decide to encode some
232+ information in the message, so that if you have to rollback you just decode the
233+ information into the LP state. This is how everybody does it, and it works, but
234+ there's a catch: you have to make sure to clean the state of the message/event on
235+ rollbacks too. Events are not automatically cleansed on a rollback. Remember: in
236+ rollbacks both the LP state and the contents of the message have to be brought to
237+ their previous state.
You can’t perform that action at this time.
0 commit comments