mpiRecorderStop

Declaration

int32_t mpiRecorderStop(MPIRecorder recorder)

 

Required Header: stdmpi.h

Description

mpiRecorderStop instructs a Recorder

recorder a handle to a Recorder object

(recorder) to stop recording data records.

Return Values
MPIMessageOK
MPIRecorderMessageSTOPPED

Sample Code

/*  
    Look for the warning code when the recorder is already stopped.
    This is usually not considered a bad thing (error).
*/
returnValue = mpiRecorderStop(recorder);
if(returnValue == MPIRecorderMessageSTOPPED)
{
returnValue = MPIMessageOK;
}
msgCHECK(returnValue);

See Also

mpiRecorderStart