|
29 | 29 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
30 | 30 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
31 | 31 | */ \
|
32 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 32 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
33 | 33 | size_t type_size; \
|
34 | 34 | ompi_datatype_type_size(dt, &type_size); \
|
35 | 35 | mca_common_monitoring_record_osc(world_rank, type_size, SEND); \
|
|
56 | 56 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
57 | 57 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
58 | 58 | */ \
|
59 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 59 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
60 | 60 | size_t type_size, data_size; \
|
61 | 61 | ompi_datatype_type_size(origin_datatype, &type_size); \
|
62 | 62 | data_size = origin_count*type_size; \
|
|
88 | 88 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
89 | 89 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
90 | 90 | */ \
|
91 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 91 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
92 | 92 | size_t type_size, data_size; \
|
93 | 93 | ompi_datatype_type_size(origin_datatype, &type_size); \
|
94 | 94 | data_size = origin_count*type_size; \
|
|
116 | 116 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
117 | 117 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
118 | 118 | */ \
|
119 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 119 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
120 | 120 | size_t type_size, data_size; \
|
121 | 121 | ompi_datatype_type_size(origin_datatype, &type_size); \
|
122 | 122 | data_size = origin_count*type_size; \
|
|
140 | 140 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
141 | 141 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
142 | 142 | */ \
|
143 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 143 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
144 | 144 | size_t type_size, data_size; \
|
145 | 145 | ompi_datatype_type_size(origin_datatype, &type_size); \
|
146 | 146 | data_size = origin_count*type_size; \
|
|
162 | 162 | * If this fails the destination is not part of my MPI_COM_WORLD \
|
163 | 163 | * Lookup its name in the rank hastable to get its MPI_COMM_WORLD rank \
|
164 | 164 | */ \
|
165 |
| - if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank(target_rank, ompi_osc_monitoring_## template ##_get_comm(win), &world_rank)) { \ |
| 165 | + if(OPAL_SUCCESS == mca_common_monitoring_get_world_rank_grp(target_rank, win->w_group, &world_rank)) { \ |
166 | 166 | size_t type_size; \
|
167 | 167 | ompi_datatype_type_size(dt, &type_size); \
|
168 | 168 | mca_common_monitoring_record_osc(world_rank, type_size, SEND); \
|
|
0 commit comments