1
1
Refs trac:1463

This commit was SVN r19501.

The following Trac tickets were found above:
  Ticket 1463 --> https://svn.open-mpi.org/trac/ompi/ticket/1463
Этот коммит содержится в:
Nysal Jan 2008-09-05 04:29:21 +00:00
родитель 4b68803260
Коммит 3b51258b13

Просмотреть файл

@ -47,7 +47,6 @@ int mca_topo_base_cart_rank (MPI_Comm comm,
int i; int i;
int *d; int *d;
int *c; int *c;
int *p;
/* /*
* Loop over coordinates computing the rank. * Loop over coordinates computing the rank.
@ -57,10 +56,9 @@ int mca_topo_base_cart_rank (MPI_Comm comm,
i = comm->c_topo_comm->mtc_ndims_or_nnodes - 1; i = comm->c_topo_comm->mtc_ndims_or_nnodes - 1;
d = comm->c_topo_comm->mtc_dims_or_index + i; d = comm->c_topo_comm->mtc_dims_or_index + i;
p = comm->c_topo_comm->mtc_periods_or_edges + i;
c = coords + i; c = coords + i;
for (; i >= 0; --i, --c, --d, --p) { for (; i >= 0; --i, --c, --d) {
dim = *d; dim = *d;
ord = *c; ord = *c;
/* Per MPI-2.1 7.5.4 (description of MPI_CART_RANK), if the /* Per MPI-2.1 7.5.4 (description of MPI_CART_RANK), if the