Sunday, August 3, 2008

ECO: _use.h

PMPI allows MPI calls to be trapped by a user-supplied library via the miracle of weak linking. For the SC Adagio paper, I thought that additional runtime overhead might be caused by trapping all of the MPI calls instead of the ones we were interested in.

In the pmpi_modules directory, there's a _use.h file that defines what function calls will be trapped. This had previously been edited down to a small set of global synchronization calls (plus a few others).

We're now moving back to wanting to track all calls. This may add to execution time overhead. Or it might not.

To play with this, copy _use_all.h to _use_whatever_you_like.h, comment out the #defines of the functions you don't want to see, and replace #include "_use.h" in blr_pmpi.c with and #include for your new file.

No comments: