Does anyone know the reason for the following errors: error: cannot convert ‘_p_KSP**’ to ‘KSP {aka _p_KSP*}’ for argument ‘1’ to ‘PetscErrorCode KSPDestroy(KSP)’ error: cannot convert ‘_p_VecScatter**’ to ‘VecScatter {aka _p_VecScatter*}’ for argument ‘1’ to ‘PetscErrorCode VecScatterDestroy(VecScatter)’ Thanks in advance, Eduardo