Lines Matching refs:comm_size
379 PetscMPIInt rank, comm_size; in PrintRunInfo() local
382 PetscCallMPI(MPI_Comm_size(comm, &comm_size)); in PrintRunInfo()
388 host_name, comm_size)); in PrintRunInfo()
468 PetscInt median_index = comm_size % 2 ? comm_size / 2 : comm_size / 2 - 1; in PrintRunInfo()
469 if (!rank) PetscCall(PetscMalloc1(comm_size, &gather_buffer)); in PrintRunInfo()
473 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
475 part_owned_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
486 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
488 part_local_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
497 if (comm_size != 1) { in PrintRunInfo()
521 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
523 part_boundary_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
535 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
537 part_neighbors[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
546 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
548 part_boundary_dofs[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()
560 PetscCall(PetscSortInt(comm_size, gather_buffer)); in PrintRunInfo()
562 part_neighbors[1] = gather_buffer[comm_size - 1]; // max in PrintRunInfo()