Next: Coupling algorithms - SEQ
Up: Interfacing a model with
Previous: Auxiliary routines
Termination
- CALL prism_terminate_proto(ierror)
- ierror [INTEGER; OUT]: returned error code.
All processes of the component model must terminate the coupling by calling prism_terminate_proto6 (normal termination). OASIS3 will
terminate after all processes called
prism_terminate_proto. With MPI2, the run may be considered
finished when OASIS3 terminates; to avoid problem, place the call
to prism_terminate_proto at the very end in the component model code.
Footnotes
- ... prism_terminate_proto6
- If the process called MPI_Init (before calling prism_init_comp_proto), it must
also call MPI_Finalize explicitly, but only after calling
prism_terminate_proto.
Laure Coquart
2013-06-11