Open paul-rl opened 2 weeks ago
The main changes we're making will be swapping the local storage from std::vector
https://github.com/LLNL/ygm/blob/v0.7-dev/include/ygm/container/bag.hpp#L244 to using cereal archives to serialize values into the files. From some cursory investigating it looks like we can use the CerealBinaryArchive to do something similar to fstream << CerealBinaryArchive(Value); and the reverse to get the Value out of the file since all YGM types are required to be serializable.
The part of the Oversized Bag implementation that requires interfacing with File I/O in order to store and retrieve data. This includes the functions:
@ryan-dozier same here 😅