next up previous
Next: prism_get_localcomn Up: Initialisation phase Previous: prism_init


prism_init_comp

prism_init_comp (comp_id, comp_name, ierror)




Table 5.2: prism_init_comp 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}




prism_init_comp needs to be called initially by each process once for each component executed by the process, no matter if different components are executed sequentially by the process or if the process is devoted to only one single component. 8

Below the prism_init_comp call, the component SMIOC XML information (see 6.5) is transfered from the Driver to the component process PSMILe or is read directly by the PSMILe itself in the stand-alone case (see 4.1).



Footnotes

... component.8
If prism_init has not been called before by the process, prism_init_comp calls it and returns with a warning. Although recommended, it is therefore not necessary to implement a call to prism_init; in this case, as prism_init is a collective call, all processes of all applications need to call prism_init_comp .


Laure Coquart 2011-12-01