Searched refs:hasNullRank (Results 1 – 1 of 1) sorted by relevance
182 PetscInt hasNullRank = (!rootdata && !leafdata) ? 1 : 0; in PetscSFLinkNvshmemCheck() local183 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &hasNullRank, 1, MPIU_INT, MPI_LOR, comm)); in PetscSFLinkNvshmemCheck()184 if (hasNullRank) sf->use_nvshmem = PETSC_FALSE; in PetscSFLinkNvshmemCheck()