Dear Boost users/devs,<div><br></div><div>Suppose i have a simulator S: R^n ---&gt; R such that each run is during about 1 hour. Even using Boost.MPI, is expensive to run thousands of simulations all the time. To solve this problem, i&#39;m wondering in use Boost.Serialization to store the pairs inputs/output in a boost::serialization::binary_archive and check before run if those inputs had an associated output already.</div>
<div><br></div><div>By reading the Boost.Serialization docs, i can&#39;t found a way to deal with offsets in the archive, in really i don&#39;t know if it&#39;s possible. My intention is to get an archive like:</div><div>
<br></div><div>1.3, 2.5, ..., 4.6</div><div>0.1, 4.3, ..., 5.0</div><div>...</div><div>...</div><div>123445</div><div>1234542</div><div>9893</div><div>1234</div><div>...</div><div><br></div><div>and skip the first rows, which are the inputs, to get the associated outputs. If you have any advice to solve this or know another�more appropriate�approach for this restart feature, please let me know.�The second option i have in mind is work with C++ file streams and save the floating points by using the�low-level�std::fstream::read std::fstream::write functions.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Best regards,</div><div>J�lio.</div>