Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwoods2 committed Aug 8, 2024
1 parent 5cd5366 commit 66e78e3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/source/protocol_proposed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,17 @@ Idempotency

If the IMD_V3SWITCH has been sent, making the simulation an IMDV3 simulation, IMD_PAUSE becomes an idempotent operation;
sending it more than once has the same effect as sending it once. The only way to unpause a paused IMDV3 simulaton is to send
an IMD_RESUME packet, which is also idempotent.
an IMD_RESUME packet, which is also idempotent.

Backwards compatibility
-----------------------

Note that the "length" attribute in IMD_HANDSHAKE is still always 2 even in IMDV3.
This is because the client is responsible for informing the simulation server that
IMDV3 will be used and this occurs after the handshake. Communication happens in this order:

.. code-block:: none
(Gromacs -> MDAnalysis) IMD_HANDSHAKE
(MDAnalysis -> Gromacs) IMD_GO
(MDAnalysis -> Gromacs) IMD_V3SWITCH

0 comments on commit 66e78e3

Please sign in to comment.