sstsimulator / sst-elements

SST Architectural Simulation Components and Libraries
http://www.sst-simulator.org
Other
91 stars 119 forks source link

Ember: Regarding usage of Ember OTF2 trace motif #1968

Open saichennaintel opened 1 year ago

saichennaintel commented 1 year ago

I would like to make use of the Ember's capability of generate an event queue from an OTF-2 trace. I believe this eliminates the need to write a custom ember motif for a specific workload whose communication pattern is not captured by the current available ember motifs. However, I'm not sure about usage of the emberotf2 motif. Can you specify some brief details on how to use emberotf2 motif. For example:

  1. Is there any limit on the trace sizes. Does the trace include the compute times captured as a compute event in the simulation?
  2. Are there any dependencies that are required while building SST-core and SST-elements to make use of this motif?
  3. Also just to confirm, the motif just captures the event queue and not the underlying topology, so that the trace can be used to drive the network of various other topologies. Is it the right assumption?
jpkenny commented 1 year ago

The OTF2 feature never made it past the development stage (the team member working on it has left the lab). As far as I know, it has basic functionality, but I just checked and there aren't any tests for it so I can't verify that it works without further investigation.

  1. There are no intentional limits on traces sizes, but obviously you will run into resource limitations on a given system.
  2. You just need to build sst-elements using "--with-otf2=" to include the otf2 feature.
  3. These assumptions are correct.

Scanning the code just now I can see that some callbacks, such as those for MpiRequest events, are not implemented in emberotf2.

saichennaintel commented 1 year ago

Had compilation errors while building SST Elements with OTF2 library. Raised an issue for that.