Open deanchester opened 3 months ago
No, writing to file is not a debug-only feature. The object isn't initialized correctly with that constructor invocation. Either dynamically allocate & invoke the constructor using new
or use bufferOccupanciesOutput.initialize("", 0, 0, Output::FILE, filename);
instead of the constructor.
I need to write some data to a file per component within SST and reading the docs the Output Class can handle writing to files.
In the constructor of hr_router I constructed the Output object:
And then I write to the output object with code like so:
The segmentation fault is:
The Segmentation Fault occurs when trying to output the simulation time:
I tried running with a variety of options:
All of which caused the seg fault.
I also tried removing the filename argument to the Output constructor and it still failed with the above options.
SST was built with the following flags:
I don't build SST with the enable debug flag, does setting the Output location to a file fall under this caveat:
from the docs?