huttered40 / critter

Critical path analysis of MPI parallel programs
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Give python hookups for the 3 user-functions #17

Closed huttered40 closed 4 years ago

huttered40 commented 5 years ago

My first test case is cholinv in pycamfs that uses ctf. I want to be able to profile it using critter, yet because its written in python, that is not currently possible. I cannot simply at the c++ interface routines critter::start and critter::stop to a python file.

Also, how would this be possible, since we need MPI_Init and MPI_Finalize to be intercepted, yet they are never called in the python code. ctf would have to call them, but then how would the arguments pass through from python into ctf's C++ interface?

huttered40 commented 4 years ago

This is so far down the road that I am just going to abandon this.