[mpich2-dev] Null MPE log routines

Lisandro Dalcin dalcinl at gmail.com
Fri May 22 10:14:12 CDT 2009


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