mpiRecorderDelete

Declaration

int32_t mpiRecorderDelete(MPIRecorder recorder)

 

Required Header: stdmpi.h

Description

mpiRecorderDelete deletes a Recorder object and invalidates its handle (recorder). RecorderDelete is the equivalent of a C++ destructor.

It is possible to create a recorder object and not delete it, leaving the resources for the recorder occupied, but forgotten about (abandoned). It is most common to run into this situation when using an index of -1 for the recorder. When developing a program and running it in the debugger, it is common for the developer to exit the program without letting the program clean up its recorder resources. To see how to handle this situation programmatically, please see recorderinuse.c.

control a handle to a Control object.
Return Values
MPIMessageOK

See Also

mpiRecorderCreate | mpiRecorderValidate