Usage Notes
Consider the following when specifying the Shutdown parameters:
Requirements – A Shutdown function is required when the Reqtype field of the pmiCmdBlock_t structure is pmiPIDMOptShut.
Housekeeping Operations – The Shutdown function also performs the following housekeeping operations:
Terminating subprocesses
Closing open files
Freeing memory
Error Conditions – The Shutdown function needs to proceed despite file close errors.