next up previous
Next: prism_terminated Up: Termination Phase Previous: Termination Phase


prism_terminate

prism_terminate (ierror)




Table 5.25: prism_terminate arguments
\begin{table}\begin{tabularx}{16cm}[t]{\vert l\vert l\vert l\vert X\vert}
\hlin...
...\texttt{Integer}&
returned error code\\
\hline
\end{tabularx}\end{table}




In analogy to the initialisation phase, a call to prism_terminate, which again is a collective call and therefore needs to be called by all processes of all applications, will make the calling process to wait for other processes participating in the coupling to reach the prism_terminate as well. At this point, the following actions are performed:

After calling prism_terminate , no coupling exchanges are possible for this process and no further I/O actions under control of the PSMILe can be performed; however, it is still possible for the application to perform local operations and to write additional output which shall not be under control of the PSMILe. If MPI_Init has been called in the code before the call to prism_init, component internal MPI communication is still possible after the call to prism_terminate, until the MPI_Finalize is called by the component (see also section 5.1.1). Otherwise prism_terminate will call MPI_Finalizeitself.


next up previous
Next: prism_terminated Up: Termination Phase Previous: Termination Phase
Laure Coquart 2011-12-01