Coder Social home page Coder Social logo

Comments (3)

wbinventor avatar wbinventor commented on August 13, 2024

This might be most relevant for you to implement Tim, since it will help you keep a permanent copy of performance metrics from your experiments once your PAPI instrumentation is implemented.

from openmoc.

wbinventor avatar wbinventor commented on August 13, 2024

One additional feature to this would be to write the data using Python's "pickle" function - ie, openmoc.process would performance data from both hdf5 and pickling. This would allow the data to be easily read back into Python, and would be more platform-independent than HDF5 which will require h5py to be installed. For machines like BGQ without numpy and h5py, all performance data (timers, papi counters, etc) can be pickled and the file copied to another machine with numpy, matplotlib, etc. for data processing and plotting.

from openmoc.

wbinventor avatar wbinventor commented on August 13, 2024

Functionality is implemented as the process.storeSimulationState(...) routine. This method stores the simulation date to either HDF5 or as a Pickled Python dictionary based on the "use_hdf5" parameter (false by default). The "fluxes" boolean parameter indicates whether to store the FSR scalar fluxes (false by default).

commit (master): 1f89772

from openmoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.