Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When running timeextract on a large simulation run, my machine comes to a screeching halt. What is going on?

0
Posted

When running timeextract on a large simulation run, my machine comes to a screeching halt. What is going on?

0

If your simulation has many (100s+) timesteps and many (10s+) patches, then when the XML parser (xerces) opens all those files to get information about the simulation, it uses up quite a bit of memory. If all the memory in your machine is in use, it will start swapping and will slow down to a crawl. To fix this, we have added a flag to the timeextract program. You can use -noxml (or –xml-cache-off). This will turn off the caching of the XML files. The downside of using this option is that timeextract may be slower. This new ability is made possible by the new API function (turnOffXMLCaching()) added to DataArchive?.h. This function can be used by other programs that use the DataArchive? if they so desire.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123