title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | mtps_version | f1_keywords | dev_langs | api_location | api_name | api_type | product | topic_type | product_family_name | ROBOTS | description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPI_Group_translate_ranks function |
MPI_Group_translate_ranks function |
3c93c90e-2c99-4e37-8662-c7adea21f291 |
59360942 |
03/28/2018 |
v=VS.85 |
|
|
|
|
|
|
|
VS |
INDEX,FOLLOW |
Master the MPI_Group_translate_ranks function with this comprehensive guide. Learn syntax, parameters, and return values for efficient process numbering. |
Determines the relative numbering of the same processes in two different groups.
int MPIAPI MPI_Group_translate_ranks(
MPI_Group group1,
int n,
_In_count_(n) int *ranks1,
MPI_Group group2,
_Out_ int *ranks2
);
-
group1
The first group. -
n
The number or ranks in the ranks1 and ranks2 parameter arrays. -
ranks1
Zero or more valid ranks in the first group.[!NOTE] The MPI_PROC_NULL constant is valid for this parameter. The corresponding rank that is returned in the ranks2 parameter is also MPI_PROC_NULL.
-
group2
The second group. -
ranks2 [out]
On return, points to the corresponding ranks in the second group. The value MPI_UNDEFINED indicates that a process is in the first group, but not the second.
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
In Fortran, the return value is stored in the IERROR parameter.
MPI_GROUP_TRANSLATE_RANKS( GROUP1, N, RANKS1, GROUP2, RANKS2, IERROR)
INTEGER GROUP1, N, RANKS1(*), GROUP2, RANKS2(*), IERROR
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |