On Thu, Sep 8, 2016 at 10:17 AM, Clément <clement.fo...@gmail.com> wrote:

> Hi every one,
>
> I'm currently working on a monitoring component for OpenMPI. After
> browsing the MPI standard, in order to know what the MPI_Tools interface
> looks like, and how it's working, I had a look at the code I recieved and
> something surprised me. I can't find anywhere any reference to the sessions
> (MPI_T_pvar_session).
>

This being an MPI level type it should be defined in the mpi.h. However, as
our MPI header file is auto-generated, you have to look in the mpi.h.in
instead. Here is the definition:

./ompi/include/mpi.h.in:344:typedef struct mca_base_pvar_session_t
*MPI_T_pvar_session;


>
> How is it dealt with in the ompi engine? Are the call-back functions
> simply called when necessary, trusting the calling layers for that, or
> should it be managed manually? How to get the reference to the object on
> which the pvar is linked? And to the session (for a per-session  monitoring
> for example, in parallel with a global monitopring)? If one object is
> monitored in two sessions, both actives at the same time, are the call-back
> functions called twice?
>
> Probably, it should be possible to answer to most of this questions in one
> simple one : is there a programmation reference for the MPI_Tools
> implementation somewhere? If so, where would it be?
>

Everything you ever wanted to know about our PVAR implementation is
in opal/mca/base/mca_base_pvar.

  George.




>
> Thank you in advance.
>
> Clément FOYER
> _______________________________________________
> devel mailing list
> devel@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to