Searched refs:comm_size (Results 1 – 5 of 5) sorted by relevance
| /libCEED/examples/fluids/src/ |
| H A D | misc.c | 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() [all …]
|
| H A D | petsc_ops.c | 183 int comm_size; in CeedOperatorCreateLocalVecs() local 187 PetscCallMPI(MPI_Comm_size(comm, &comm_size)); in CeedOperatorCreateLocalVecs() 188 …PetscCheck(comm_size == 1, PETSC_COMM_WORLD, PETSC_ERR_ARG_SIZ, "MPI_Comm must be of size 1, recie… in CeedOperatorCreateLocalVecs()
|
| /libCEED/examples/petsc/ |
| H A D | bpsswarm.c | 55 PetscMPIInt comm_size; in main() local 75 PetscCall(MPI_Comm_size(comm, &comm_size)); in main() 251 PetscMPIInt comm_size; in main() local 252 PetscCall(MPI_Comm_size(comm, &comm_size)); in main() 282 …bp_choice + 1, hostname, comm_size, ranks_per_node, vec_type, used_resource, CeedMemTypes[mem_type… in main()
|
| H A D | bps.c | 133 PetscMPIInt comm_size; in RunWithDM() local 134 PetscCall(MPI_Comm_size(rp->comm, &comm_size)); in RunWithDM() 155 …bp_name, rp->hostname, comm_size, rp->ranks_per_node, vec_type, used_resource, CeedMemTypes[mem_ty… in RunWithDM() 352 PetscMPIInt comm_size; in main() local 370 PetscCall(MPI_Comm_size(comm, &comm_size)); in main()
|
| /libCEED/examples/solids/ |
| H A D | elasticity.c | 312 PetscMPIInt comm_size; in main() local 316 PetscCall(MPI_Comm_size(comm, &comm_size)); in main() 326 hostname, comm_size, used_resource, CeedMemTypes[mem_type_backend])); in main()
|