The silliest of all cut and paste errors :-( .... had forgotten to change from dest to source
This commit was SVN r2939.
Этот коммит содержится в:
родитель
02958a5a4e
Коммит
baf370d0b8
@ -86,8 +86,8 @@ int mca_topo_base_cart_shift (MPI_Comm comm,
|
|||||||
} else {
|
} else {
|
||||||
srcord %= thisdirection;
|
srcord %= thisdirection;
|
||||||
if (srcord < 0) srcord += thisdirection;
|
if (srcord < 0) srcord += thisdirection;
|
||||||
*rank_dest = ompi_comm_rank(comm);
|
*rank_source= ompi_comm_rank(comm);
|
||||||
*rank_dest += ((srcord - ord) * factor);
|
*rank_source += ((srcord - ord) * factor);
|
||||||
}
|
}
|
||||||
|
|
||||||
return MPI_SUCCESS;
|
return MPI_SUCCESS;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user