Skip to content

Statistics are not output from restart actions #1562

@jleidel

Description

@jleidel
  • Tested with SST 15.1.2 release.
  • Components from sst-bench devel branch commit: 2f0a2a09ac70b3fe106929648486d298586a00dc
  • Tested with spaghetti component using the test SDL at ~/test/spaghetti/spaghetti-test3.py

Reproducer:

sst --checkpoint-period=100ns spaghetti-test3.py
sst --load-checkpoint ./checkpoint/checkpoint_423_42300000/checkpoint_423_42300000.sstcpt

The original SDL creates statistics in histogram bins per port. Each port tracks the injection latency for each injected event. Running the standard test without checkpointing will create spaghetti-test.csv. Running the test with checkpointing, then restarting from a known good checkpoint will not output the statistics. The statistics are serialized in the component implementation as follows:

void serialize_order(SST::Core::Serialization::serializer& ser) override {
    SST::Component::serialize_order(ser);
    SST_SER(numPorts);
    SST_SER(numMsgs);
    SST_SER(bytesPerMsg);
    SST_SER(rngSeed);
    SST_SER(numRecv);
    SST_SER(portname);
    SST_SER(linkHandlers);
    SST_SER(localRNG);
    SST_SER(LStat);    /// the statistics vector, one entry per port
  }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions