Searched refs:comm_size (Results 1 – 2 of 2) sorted by relevance
| /honee/src/ |
| H A D | misc.c | 271 PetscMPIInt rank, comm_size; in PrintRunInfo() local 274 PetscCallMPI(MPI_Comm_size(comm, &comm_size)); in PrintRunInfo() 280 host_name, comm_size)); in PrintRunInfo() 365 PetscInt median_index = comm_size % 2 ? comm_size / 2 : comm_size / 2 - 1; in PrintRunInfo() 366 if (!rank) PetscCall(PetscMalloc1(comm_size, &gather_buffer)); in PrintRunInfo() 370 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo() 372 part_owned_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo() 383 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo() 385 part_local_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo() 394 if (comm_size != 1) { in PrintRunInfo() [all …]
|
| H A D | petsc_ops.c | 175 int comm_size; in CeedOperatorCreateLocalVecs() local 179 PetscCallMPI(MPI_Comm_size(comm, &comm_size)); in CeedOperatorCreateLocalVecs() 180 …PetscCheck(comm_size == 1, PETSC_COMM_WORLD, PETSC_ERR_ARG_SIZ, "MPI_Comm must be of size 1, recie… in CeedOperatorCreateLocalVecs()
|