[petsc-dev] Deadlock VecScatterCreate
Smith, Barry F.
bsmith at mcs.anl.gov
Sun Sep 9 13:07:18 CDT 2018
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 <pierre.jolivet at enseeiht.fr> 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>
More information about the petsc-dev
mailing list