Lines Matching refs:nnodes

16 int MPI_Graph_create(MPI_Comm comm_old, int nnodes, const int indx[], const int edges[],
39 int MPIR_Graph_create(MPIR_Comm * comm_ptr, int nnodes, in MPIR_Graph_create() argument
57 mpi_errno = MPIR_Graph_map_impl(comm_ptr, nnodes, indx, edges, &nrank); in MPIR_Graph_create()
68 mpi_errno = MPII_Comm_copy((MPIR_Comm *) comm_ptr, nnodes, NULL, &newcomm_ptr); in MPIR_Graph_create()
80 nedges = indx[nnodes - 1]; in MPIR_Graph_create()
85 graph_ptr->topo.graph.nnodes = nnodes; in MPIR_Graph_create()
88 nnodes * sizeof(int), mpi_errno, "graph.index", MPL_MEM_COMM); in MPIR_Graph_create()
91 for (i = 0; i < nnodes; i++) in MPIR_Graph_create()
117 comm_ptr->handle, nnodes, indx, edges, reorder, comm_graph); in MPIR_Graph_create()
158 int MPI_Graph_create(MPI_Comm comm_old, int nnodes, const int indx[], in MPI_Graph_create() argument
197 MPIR_ERRTEST_ARGNEG(nnodes, "nnodes", mpi_errno); in MPI_Graph_create()
198 if (nnodes > 0) { in MPI_Graph_create()
216 if (nnodes > comm_size) { in MPI_Graph_create()
222 nnodes, comm_size); in MPI_Graph_create()
234 for (i = 0; i < nnodes; i++) { in MPI_Graph_create()
242 if (i + 1 < nnodes && indx[i] > indx[i + 1]) { in MPI_Graph_create()
256 if (nnodes > 0) { in MPI_Graph_create()
257 for (i = 0; i < indx[nnodes - 1]; i++) { in MPI_Graph_create()
279 if (nnodes == 0) { in MPI_Graph_create()
286 mpi_errno = comm_ptr->topo_fns->graphCreate(comm_ptr, nnodes, in MPI_Graph_create()
291 mpi_errno = MPIR_Graph_create(comm_ptr, nnodes, in MPI_Graph_create()
311 comm_old, nnodes, indx, edges, reorder, comm_graph); in MPI_Graph_create()