if self.getDefaultLanguage() == 'C': mpitypes.extend([('MPI_C_DOUBLE_COMPLEX', 'c-double-complex')])<div><br></div><div>Why don't we check for this regardless of C language? The C and C++ types are binary compatible and there is an advantage to using the predefined data types: it lets us also use the predefined MPI_Ops, which would let us use MPIU_SUM with PetscSF (and possibly use more optimized reduction implementations in other cases).</div>