Skip to content

Commit

Permalink
Merge pull request #1363 from eisenhauer/DocsForPrecious
Browse files Browse the repository at this point in the history
Add documentation and output listing for FirstTimestepPrecious
  • Loading branch information
eisenhauer authored Apr 8, 2019
2 parents 5099101 + 315b4ff commit bf5eacd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/user_guide/source/engines/sst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,23 @@ will result in SST generating contact information that uses the
network address associated with the loopback interface (127.0.0.1).
This value is interpreted by only by the SST Writer engine.

8. ``FirstTimestepPrecious``: Default **FALSE**.
FirstTimestepPrecious is a boolean parameter that affects the queueing
of the first timestep presented to the SST Writer engine. If
FirstTimestepPrecious is **TRUE***, then the first timestep is
effectively never removed from the output queue and will be presented
as a first timestep to any reader that joins at a later time. This
can be used to convey run parameters or other information that every
reader may need despite joining later in a data stream. Note that
this queued first timestep does count against the QueueLimit parameter
above, so if a QueueLimit is specified, it should be a value larger
than 1. Further note while specifing this parameter guarantees that
the preserved first timestep will be made available to new readers,
other reader-side operations (like requesting the LatestAvailable
timestep in BeginStep) might still cause the timestep to be skipped.
This value is interpreted by only by the SST Writer engine.


======================= ===================== =========================================================
**Key** **Value Format** **Default** and Examples
======================= ===================== =========================================================
Expand All @@ -187,4 +204,5 @@ This value is interpreted by only by the SST Writer engine.
DataTransport string **default varies by platform**, RDMA, WAN
ControlTransport string **TCP**, Scalable
NetworkInterface string **NULL**
FirstTimestepPrecious boolean **FALSE**, true, no, yes
======================= ===================== =========================================================
2 changes: 2 additions & 0 deletions source/adios2/toolkit/sst/cp/cp_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ extern void CP_dumpParams(SstStream Stream, struct _SstParams *Params)
SstCommPatternStr[Params->CPCommPattern]);
fprintf(stderr, "Param - MarshalMethod:%s\n",
SstMarshalStr[Params->MarshalMethod]);
fprintf(stderr, "Param - FirstTimestepPrecious:%s\n",
Params->FirstTimestepPrecious ? "True" : "False");
fprintf(stderr, "Param - IsRowMajor:%d (not user settable) \n",
Params->IsRowMajor);
}
Expand Down

0 comments on commit bf5eacd

Please sign in to comment.