Home
last modified time | relevance | path

Searched refs:newrank (Results 1 – 25 of 183) sorted by relevance

12345678

/dports/net/mpich/mpich-3.4.3/src/mpi/topo/
H A Dgraph_map.c16 int MPI_Graph_map(MPI_Comm comm, int nnodes, const int indx[], const int edges[], int *newrank)
28 const int edges[]ATTRIBUTE((unused)), int *newrank) in MPIR_Graph_map() argument
35 *newrank = comm_ptr->rank; in MPIR_Graph_map()
37 *newrank = MPI_UNDEFINED; in MPIR_Graph_map()
43 const int indx[], const int edges[], int *newrank) in MPIR_Graph_map_impl() argument
50 (const int *) indx, (const int *) edges, newrank); in MPIR_Graph_map_impl()
55 (const int *) indx, (const int *) edges, newrank); in MPIR_Graph_map_impl()
90 int MPI_Graph_map(MPI_Comm comm, int nnodes, const int indx[], const int edges[], int *newrank) in MPI_Graph_map() argument
124 MPIR_ERRTEST_ARGNULL(newrank, "newrank", mpi_errno); in MPI_Graph_map()
138 (const int *) edges, newrank); in MPI_Graph_map()
[all …]
H A Dcart_map.c16 int MPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank)
28 const int periodic[], int *newrank) in MPIR_Cart_map() argument
53 *newrank = rank; in MPIR_Cart_map()
55 *newrank = MPI_UNDEFINED; in MPIR_Cart_map()
64 const int periods[], int *newrank) in MPIR_Cart_map_impl() argument
71 (const int *) dims, (const int *) periods, newrank); in MPIR_Cart_map_impl()
76 (const int *) dims, (const int *) periods, newrank); in MPIR_Cart_map_impl()
113 int MPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank) in MPI_Cart_map() argument
147 MPIR_ERRTEST_ARGNULL(newrank, "newrank", mpi_errno); in MPI_Cart_map()
164 (const int *) dims, (const int *) periods, newrank); in MPI_Cart_map()
[all …]
/dports/net/mpich2/mpich2-1.5/test/mpi/topo/
H A Dcartmap1.c16 int size, rank, newrank; in main() local
27 MPI_Cart_map( MPI_COMM_WORLD, 1, dims, periods, &newrank ); in main()
29 if (newrank != MPI_UNDEFINED) { in main()
35 if (rank != newrank) { in main()
44 MPI_Cart_map( MPI_COMM_WORLD, 0, dims, periods, &newrank ); in main()
46 if (newrank != MPI_UNDEFINED) { in main()
53 if (rank != newrank) { in main()
H A Dgraphmap1.c14 int newrank, merr, rank; in main() local
25 merr = MPI_Graph_map( MPI_COMM_WORLD, 1, index, edges, &newrank ); in main()
31 if (rank != 0 && newrank != MPI_UNDEFINED) { in main()
/dports/net/mpich/mpich-3.4.3/test/mpi/topo/
H A Dcartmap1.c15 int size, rank, newrank; in main() local
26 MPI_Cart_map(MPI_COMM_WORLD, 1, dims, periods, &newrank); in main()
28 if (newrank != MPI_UNDEFINED) { in main()
33 if (rank != newrank) { in main()
42 MPI_Cart_map(MPI_COMM_WORLD, 0, dims, periods, &newrank); in main()
44 if (newrank != MPI_UNDEFINED) { in main()
50 if (rank != newrank) { in main()
/dports/net/mpich2/mpich2-1.5/src/mpi/topo/
H A Dgraph_map.c28 const int edges[] ATTRIBUTE((unused)), int *newrank ) in MPIR_Graph_map() argument
35 *newrank = comm_ptr->rank; in MPIR_Graph_map()
38 *newrank = MPI_UNDEFINED; in MPIR_Graph_map()
48 const int indx[], const int edges[], int *newrank) in MPIR_Graph_map_impl() argument
57 newrank ); in MPIR_Graph_map_impl()
63 (const int*) edges, newrank ); in MPIR_Graph_map_impl()
103 int *newrank) in MPI_Graph_map() argument
136 MPIR_ERRTEST_ARGNULL(newrank,"newrank",mpi_errno); in MPI_Graph_map()
150 (const int*) edges, newrank); in MPI_Graph_map()
167 newrank); in MPI_Graph_map()
H A Dcart_map.c32 const int periodic[], int *newrank ) in MPIR_Cart_map() argument
57 *newrank = rank; in MPIR_Cart_map()
59 *newrank = MPI_UNDEFINED; in MPIR_Cart_map()
72 const int periods[], int *newrank) in MPIR_Cart_map_impl() argument
81 newrank ); in MPIR_Cart_map_impl()
87 (const int*) periods, newrank ); in MPIR_Cart_map_impl()
129 int *newrank) in MPI_Cart_map() argument
162 MPIR_ERRTEST_ARGNULL(newrank,"newrank",mpi_errno); in MPI_Cart_map()
180 (const int*) periods, newrank ); in MPI_Cart_map()
196 newrank); in MPI_Cart_map()
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/fortran/mpif-h/
H A Dcart_map_f.c41 …I_Fint *ndims, MPI_Fint *dims, ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr),
42 (comm, ndims, dims, periods, newrank, ierr) )
61 …I_Fint *ndims, MPI_Fint *dims, ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr),
62 (comm, ndims, dims, periods, newrank, ierr) )
70 ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr) in ompi_cart_map_f() argument
76 OMPI_SINGLE_NAME_DECL(newrank); in ompi_cart_map_f()
88 OMPI_SINGLE_NAME_CONVERT(newrank)); in ompi_cart_map_f()
93 OMPI_SINGLE_INT_2_FINT(newrank); in ompi_cart_map_f()
/dports/net/openmpi/openmpi-4.1.1/ompi/mpi/fortran/mpif-h/
H A Dcart_map_f.c42 …I_Fint *ndims, MPI_Fint *dims, ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr),
43 (comm, ndims, dims, periods, newrank, ierr) )
62 …I_Fint *ndims, MPI_Fint *dims, ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr),
63 (comm, ndims, dims, periods, newrank, ierr) )
71 ompi_fortran_logical_t *periods, MPI_Fint *newrank, MPI_Fint *ierr) in ompi_cart_map_f() argument
77 OMPI_SINGLE_NAME_DECL(newrank); in ompi_cart_map_f()
89 OMPI_SINGLE_NAME_CONVERT(newrank)); in ompi_cart_map_f()
94 OMPI_SINGLE_INT_2_FINT(newrank); in ompi_cart_map_f()
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/ireduce/
H A Direduce_intra_sched_reduce_scatter_gather.c116 newrank = -1; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
130 newrank = rank / 2; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
133 newrank = rank - rem; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
149 if (newrank != -1) { in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
163 newdst = newrank ^ mask; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
168 if (newrank < newdst) { in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
237 newrank = 0; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
244 newrank = -1; in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
253 if (newrank != -1) { in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
283 if (newrank < newdst) { in MPIR_Ireduce_intra_sched_reduce_scatter_gather()
[all …]
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/reduce/
H A Dreduce_intra_reduce_scatter_gather.c125 newrank = -1; in MPIR_Reduce_intra_reduce_scatter_gather()
145 newrank = rank / 2; in MPIR_Reduce_intra_reduce_scatter_gather()
148 newrank = rank - rem; in MPIR_Reduce_intra_reduce_scatter_gather()
161 if (newrank != -1) { in MPIR_Reduce_intra_reduce_scatter_gather()
178 newdst = newrank ^ mask; in MPIR_Reduce_intra_reduce_scatter_gather()
183 if (newrank < newdst) { in MPIR_Reduce_intra_reduce_scatter_gather()
271 newrank = 0; in MPIR_Reduce_intra_reduce_scatter_gather()
285 newrank = -1; in MPIR_Reduce_intra_reduce_scatter_gather()
293 if (newrank != -1) { in MPIR_Reduce_intra_reduce_scatter_gather()
323 if (newrank < newdst) { in MPIR_Reduce_intra_reduce_scatter_gather()
[all …]
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/iallreduce/
H A Diallreduce_intra_sched_reduce_scatter_allgather.c15 int comm_size, rank, newrank, pof2, rem; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather() local
69 newrank = -1; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
83 newrank = rank / 2; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
86 newrank = rank - rem; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
88 if (newrank != -1) { in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
114 newdst = newrank ^ mask; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
119 if (newrank < newdst) { in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
169 newdst = newrank ^ mask; in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
174 if (newrank < newdst) { in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
201 if (newrank > newdst) in MPIR_Iallreduce_intra_sched_reduce_scatter_allgather()
H A Diallreduce_intra_sched_recursive_doubling.c14 int newrank, mask, newdst, dst; in MPIR_Iallreduce_intra_sched_recursive_doubling() local
61 newrank = -1; in MPIR_Iallreduce_intra_sched_recursive_doubling()
75 newrank = rank / 2; in MPIR_Iallreduce_intra_sched_recursive_doubling()
78 newrank = rank - rem; in MPIR_Iallreduce_intra_sched_recursive_doubling()
80 if (newrank != -1) { in MPIR_Iallreduce_intra_sched_recursive_doubling()
83 newdst = newrank ^ mask; in MPIR_Iallreduce_intra_sched_recursive_doubling()
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/allreduce/
H A Dallreduce_intra_reduce_scatter_allgather.c52 int mask, dst, pof2, newrank, rem, newdst, i, in MPIR_Allreduce_intra_reduce_scatter_allgather() local
103 newrank = -1; in MPIR_Allreduce_intra_reduce_scatter_allgather()
124 newrank = rank / 2; in MPIR_Allreduce_intra_reduce_scatter_allgather()
127 newrank = rank - rem; in MPIR_Allreduce_intra_reduce_scatter_allgather()
143 if (newrank != -1) { in MPIR_Allreduce_intra_reduce_scatter_allgather()
164 newdst = newrank ^ mask; in MPIR_Allreduce_intra_reduce_scatter_allgather()
169 if (newrank < newdst) { in MPIR_Allreduce_intra_reduce_scatter_allgather()
226 newdst = newrank ^ mask; in MPIR_Allreduce_intra_reduce_scatter_allgather()
231 if (newrank < newdst) { in MPIR_Allreduce_intra_reduce_scatter_allgather()
266 if (newrank > newdst) in MPIR_Allreduce_intra_reduce_scatter_allgather()
H A Dallreduce_intra_recursive_doubling.c31 int mask, dst, is_commutative, pof2, newrank, rem, newdst; in MPIR_Allreduce_intra_recursive_doubling() local
83 newrank = -1; in MPIR_Allreduce_intra_recursive_doubling()
104 newrank = rank / 2; in MPIR_Allreduce_intra_recursive_doubling()
107 newrank = rank - rem; in MPIR_Allreduce_intra_recursive_doubling()
118 if (newrank != -1) { in MPIR_Allreduce_intra_recursive_doubling()
121 newdst = newrank ^ mask; in MPIR_Allreduce_intra_recursive_doubling()
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/allreduce_group/
H A Dallreduce_group.c26 int mask, dst, is_commutative, pof2, newrank, rem, newdst, i, in MPII_Allreduce_group_intra() local
85 newrank = -1; in MPII_Allreduce_group_intra()
106 newrank = group_rank / 2; in MPII_Allreduce_group_intra()
109 newrank = group_rank - rem; in MPII_Allreduce_group_intra()
120 if (newrank != -1) { in MPII_Allreduce_group_intra()
126 newdst = newrank ^ mask; in MPII_Allreduce_group_intra()
194 newdst = newrank ^ mask; in MPII_Allreduce_group_intra()
200 if (newrank < newdst) { in MPII_Allreduce_group_intra()
257 newdst = newrank ^ mask; in MPII_Allreduce_group_intra()
263 if (newrank < newdst) { in MPII_Allreduce_group_intra()
[all …]
/dports/net/mpich2/mpich2-1.5/src/mpi/coll/
H A Dallred_group.c36 int mask, dst, is_commutative, pof2, newrank, rem, newdst, i, in MPIR_Allreduce_group_intra() local
106 newrank = -1; in MPIR_Allreduce_group_intra()
128 newrank = group_rank / 2; in MPIR_Allreduce_group_intra()
132 newrank = group_rank - rem; in MPIR_Allreduce_group_intra()
143 if (newrank != -1) { in MPIR_Allreduce_group_intra()
151 newdst = newrank ^ mask; in MPIR_Allreduce_group_intra()
215 newdst = newrank ^ mask; in MPIR_Allreduce_group_intra()
221 if (newrank < newdst) { in MPIR_Allreduce_group_intra()
278 newdst = newrank ^ mask; in MPIR_Allreduce_group_intra()
284 if (newrank < newdst) { in MPIR_Allreduce_group_intra()
[all …]
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/c/
H A Dgraph_map.c46 int *newrank) in MPI_Graph_map() argument
65 if (1 > nnodes || NULL == indx || NULL == edges || NULL == newrank) { in MPI_Graph_map()
77 *newrank = ompi_comm_rank(comm); in MPI_Graph_map()
79 err = comm->c_topo->topo.graph.graph_map(comm, nnodes, indx, edges, newrank); in MPI_Graph_map()
H A Dcart_map.c46 const int periods[], int *newrank) in MPI_Cart_map() argument
65 if ((NULL == dims) || (NULL == periods) || (NULL == newrank)) { in MPI_Cart_map()
77 *newrank = ompi_comm_rank(comm); in MPI_Cart_map()
80 periods, newrank); in MPI_Cart_map()
/dports/net/openmpi/openmpi-4.1.1/ompi/mpi/c/
H A Dgraph_map.c46 int *newrank) in MPI_Graph_map() argument
65 if (1 > nnodes || NULL == indx || NULL == edges || NULL == newrank) { in MPI_Graph_map()
77 *newrank = ompi_comm_rank(comm); in MPI_Graph_map()
79 err = comm->c_topo->topo.graph.graph_map(comm, nnodes, indx, edges, newrank); in MPI_Graph_map()
H A Dcart_map.c46 const int periods[], int *newrank) in MPI_Cart_map() argument
65 if ((NULL == dims) || (NULL == periods) || (NULL == newrank)) { in MPI_Cart_map()
77 *newrank = ompi_comm_rank(comm); in MPI_Cart_map()
80 periods, newrank); in MPI_Cart_map()
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/cxx/
H A Dtopology_inln.h125 int newrank; in Map() local
126 (void)MPI_Cart_map(mpi_comm, ndims, const_cast<int *>(dims), int_periods, &newrank); in Map()
128 return newrank; in Map()
208 int newrank; in Map() local
209 …void)MPI_Graph_map(mpi_comm, nnodes, const_cast<int *>(index), const_cast<int *>(edges), &newrank); in Map()
210 return newrank; in Map()
/dports/net/openmpi/openmpi-4.1.1/ompi/mpi/cxx/
H A Dtopology_inln.h125 int newrank; in Map() local
126 (void)MPI_Cart_map(mpi_comm, ndims, const_cast<int *>(dims), int_periods, &newrank); in Map()
128 return newrank; in Map()
208 int newrank; in Map() local
209 …void)MPI_Graph_map(mpi_comm, nnodes, const_cast<int *>(index), const_cast<int *>(edges), &newrank); in Map()
210 return newrank; in Map()
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/ireduce_scatter_block/
H A Direduce_scatter_block_intra_sched_recursive_halving.c23 int pof2, old_i, newrank; in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving() local
97 newrank = -1; in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
111 newrank = rank / 2; in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
114 newrank = rank - rem; in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
116 if (newrank != -1) { in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
146 newdst = newrank ^ mask; in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
151 if (newrank < newdst) { in MPIR_Ireduce_scatter_block_intra_sched_recursive_halving()
/dports/net/mpich/mpich-3.4.3/src/mpi/coll/ireduce_scatter/
H A Direduce_scatter_intra_sched_recursive_halving.c49 int pof2, old_i, newrank; in MPIR_Ireduce_scatter_intra_sched_recursive_halving() local
119 newrank = -1; in MPIR_Ireduce_scatter_intra_sched_recursive_halving()
133 newrank = rank / 2; in MPIR_Ireduce_scatter_intra_sched_recursive_halving()
136 newrank = rank - rem; in MPIR_Ireduce_scatter_intra_sched_recursive_halving()
138 if (newrank != -1) { in MPIR_Ireduce_scatter_intra_sched_recursive_halving()
168 newdst = newrank ^ mask; in MPIR_Ireduce_scatter_intra_sched_recursive_halving()
173 if (newrank < newdst) { in MPIR_Ireduce_scatter_intra_sched_recursive_halving()

12345678