Finalize
Table of contents
yt_finalize
int yt_finalize();
- Usage: Clean up embedded Python. Each rank must call this API when terminating our program.
- Return:
YT_SUCCESS
orYT_FAIL
Example
if ( yt_finalize() != YT_SUCCESS ){
fprintf( stderr, "ERROR: yt_finalize() failed!\n" );
exit( EXIT_FAILURE );
}