Lines Matching refs:comm_size
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()
417 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
419 part_boundary_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
431 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
433 part_neighbors[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
442 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
444 part_boundary_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
456 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
458 part_neighbors[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()