All processes initialise the coupling and, if required, retrieve a local communicator for the component model internal parallelisation.
Module to be used by the component models.
Routine called by all component model processes, which initialises the
coupling.
For MPI1: routine called by all model processes to get the value of a local communicator to be used by the model for its internal parallelisation.
In fact, with MPI1, all component models started in a pseudo-MPMD mode share automatically the same MPI_COMM_WORLD communicator. Another communicator has to be used for the internal parallelisation of each model. OASIS3 creates this model local communicator following a ``coloring scheme"; its value is returned as the first argument of prism_get_localcomm_proto routine.
With MPI2, the communicator MPI_COMM_WORLD will be returned as local communicator.
Besides that, the differences between using PSMILe with MPI1 or MPI2 message passing are