prism_get_localcomm (comp_id, local_comm, ierror)
MPI communicators for the internal communication of the application and/or the components, separated from the MPI communicators used for coupling exchanges, are provided by the PSMILe and can be accessed via prism_get_local_comm.
If the argument comp_id is the component ID returned by routine prism_init_comp, then local_comm is a communicator gathering all component processes running the related comp_name component as prescribed by the user in the SCC XML file (see section 6.4) ; if instead, the predefined named integer PRISM_appl_id is provided, the returned local_comm is a communicator gathering all processes of the application.
This routine needs to be called only by MPI parallel code; it is the only MPI specific call in the PSMILe API.