[mpich2-dev] Null MPE log routines
chan at mcs.anl.gov
chan at mcs.anl.gov
Fri May 22 12:00:15 CDT 2009
The idea of mpe_log_null.c is to disable the MPE calls in MPI
program. So whatever the returned arguments in the MPE should
probably be irrelevant. Send me the full patch, I will see if
it makes sense as a whole and will try to integrate it to MPE.
Thanks,
A.Chan
----- "Lisandro Dalcin" <dalcinl at gmail.com> wrote:
> Looking at mpe_log_null.c, IMHO some calls are not implemented the
> right way... Below what I believe it should be doing:
>
> int MPE_Initialized_logging( void )
> { return 1; }
>
> int MPE_Log_get_solo_eventID( int *eventdef_eventID )
> { eventdef_eventID = -99999; return MPE_LOG_OK; }
>
> int MPE_Log_get_state_eventIDs( int *statedef_startID, int
> *statedef_finalID )
> { *statedef_startID = *statedef_finalID = -99999; return MPE_LOG_OK;
> }
>
>
> BTW, MPE_Initialized_logging() could be improved to also return 0, 1,
> or 2 depending on the calls to MPI_Init_log() and MPI_Finish_log().
>
>
> Would you accept a full patch for this?
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
More information about the mpich2-dev
mailing list