Pierre,
It is not possible to do this. When communicating parallel to parallel the
communicator for both vectors must be the same communicator.
Barry
> On Sep 9, 2018, at 5:40 AM, Pierre Jolivet <[email protected]> wrote:
>
> Hello,
> Could someone please help me figure out how to fix this embarrassingly simple
> example running on three processes?
> VecScatterGetInputVecType_private is enforcing xin_type to VEC_SEQ_ID, thus
> the code is hanging because some processes call VecScatterCreate_PtoP and a
> single one calls VecScatterCreate_StoP.
>
> Thanks in advance,
> Pierre
>
> <wrong_vec_type.c>