Giter VIP home page Giter VIP logo

pydumpi's People

Contributors

justacid avatar

Watchers

 avatar  avatar

pydumpi's Issues

Using read_footer() from undumpi.py produces wrong outputs for function call counts

I have an SST Dumpi trace produced by a small MPI program that uses the MPI_Get primitive.
However, when I use the undumpi.read_footer() function on the trace files and print out the function_calls that it returns, then I get no count for MPI_Get, but instead I get a count for MPI_Put.

After some deeper digging, I have found that the undumpi.read_footer() function relies on the fields list in the DumpiCallbacks class in callbacks.py, which has 291 elements and has the MPI_Get callback as element #142 and the MPI_Put callback as element #143.

On the other hand, the dumpi_read_footer function in SST Dumpi (to which the undumpi.read_footer() provides an interface to, as far as I gather), relies on the dumpi_function enum, defined in dumpi/common/funclabels.h. This enum has 292 elements and has MPI_Get as element #143, and MPI_Put as element #144 , giving rise to the MPI_Get/MPI_Put call count bug that I have observed.

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.