8 Termination
- CALL oasis_terminate (kinfo)
- CALL prism_terminate_proto(kinfo)
- kinfo [INTEGER; OUT]: returned error code.
All processes of components at least partly involved in the coupling (e.g. comp3 in figure
2.2) have to terminate the coupling by
calling this routine6(normal termination). Different configurations of components and corresponding use of oasis_terminate are described in section 2.1 and on figures 2.1 and 2.2.
Footnotes
- ... routine6
- If the process called MPI_Init
(before calling oasis_init_comp), it must also call MPI_Finalize explicitly, but only after calling oasis_terminate_proto.