maybe this will fix ?
*diff --git a/src/ksp/pc/impls/hypre/hypre.c b/src/ksp/pc/impls/hypre/hypre.c* *index 28addcf533..6a756d4c57 100644* *--- a/src/ksp/pc/impls/hypre/hypre.c* *+++ b/src/ksp/pc/impls/hypre/hypre.c* @@ -142,8 +142,7 @@ static PetscErrorCode PCSetUp_HYPRE(PC pc) ierr = PetscObjectTypeCompare((PetscObject)pc->pmat,MATHYPRE,&ishypre);CHKERRQ(ierr); if (!ishypre) { - ierr = MatDestroy(&jac->hpmat);CHKERRQ(ierr); - ierr = MatConvert(pc->pmat,MATHYPRE,MAT_INITIAL_MATRIX,&jac->hpmat);CHKERRQ(ierr); + ierr = MatConvert(pc->pmat,MATHYPRE,jac->hpmat ? MAT_REUSE_MATRIX : MAT_INITIAL_MATRIX,&jac->hpmat);CHKERRQ(ierr); } else { ierr = PetscObjectReference((PetscObject)pc->pmat);CHKERRQ(ierr); ierr = MatDestroy(&jac->hpmat);CHKERRQ(ierr); 2018-04-02 23:46 GMT+02:00 Kong, Fande <fande.k...@inl.gov>: > Hi All, > > I am trying to upgrade PETSc from 3.7.6 to 3.8.3 for MOOSE and its > applications. I have a error message for a standard test: > > > > > > > > > > *preconditioners/pbp.lots_of_variables: MPI had an > errorpreconditioners/pbp.lots_of_variables: > ------------------------------------------------preconditioners/pbp.lots_of_variables: > Other MPI error, error stack:preconditioners/pbp.lots_of_variables: > PMPI_Comm_dup(177)..................: MPI_Comm_dup(comm=0x84000001, > new_comm=0x97d1068) failedpreconditioners/pbp.lots_of_variables: > PMPI_Comm_dup(162)..................: > preconditioners/pbp.lots_of_variables: > MPIR_Comm_dup_impl(57)..............: > preconditioners/pbp.lots_of_variables: > MPIR_Comm_copy(739).................: > preconditioners/pbp.lots_of_variables: > MPIR_Get_contextid_sparse_group(614): Too many communicators (0/2048 free > on this process; ignore_id=0)* > > > I did "git bisect', and the following commit introduces this issue: > > > > > > > > > *commit 49a781f5cee36db85e8d5b951eec29f10ac13593Author: Stefano Zampini > <stefano.zamp...@gmail.com <stefano.zamp...@gmail.com>>Date: Sat Nov 5 > 20:15:19 2016 +0300 PCHYPRE: use internal Mat of type MatHYPRE > hpmat already stores two HYPRE vectors* > > Before I debug line-by-line, anyone has a clue on this? > > > Fande, > -- Stefano