SSTInfo
SSTInfo is a standalone utility application that will analyze and extract element and component information from all SST elements.
Introduction
SSTInfo is a standalone utility application that will analyze and extract element and component information from all SST elements.
Details
- The source code for SSTInfo is located in sst/core/sstinfo.h and sst/core/sstinfo.cc.
- It is a separate binary application from sst.x, and is compiled into the same binary directory as sst.x . It is compilied at the same time as sst.x
- When run, sstinfo will search the sst library directory for all compiled elements.
- It uses libltdl to dynamically load each element.
- Due to the nature of libltdl, each component loaded must be dynamically linked to the calling application. Therefore, sstinfo, will have a similar memory footprint and file size as sst.x.
- For each compiled element, it will display the following information:
- Element Library Information
- Component Information : Including parameters, ports and component category.
- Introspector Information : Including parameters.
- Event Information
- Module Information : Including parameters.
- Partitioner Information
- Generator Information
- Currently the application only displays data in a human readable hierarchical format, but future plans include additional output formats.
- The sstinfo will be a tool used by the SST GUI Wiring tool SST Workbench. It will produce an output formatted for use by that tool.
- EXAMPLE OUTPUT
LIBRARY 17 = simpleComponent (Demo Component)
NUM COMPONENTS = 1
COMPONENT 0 = simpleComponent [UNCATEGORIZED COMPONENT] (Simple Demo Component)
NUM PARAMETERS = 3
PARAMETER 0 = workPerCycle (Count of busy work to do during a clock tick.)
PARAMETER 1 = commFreq (Approximate frequency of sending an event during a clock tick.)
PARAMETER 2 = commSize (Size of communication to send.)
NUM PORTS = 0
NUM INTROSPECTORS = 0
NUM EVENTS = 0
NUM MODULES = 0
NUM PARTITIONERS = 0
NUM GENERATORS = 0