File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ int ompi_comm_init_mpi3 (void)
183
183
184
184
/* Setup MPI_COMM_WORLD */
185
185
OBJ_CONSTRUCT (& ompi_mpi_comm_world , ompi_communicator_t );
186
- assert (ompi_mpi_comm_world .comm .c_f_to_c_index == 1 );
186
+ assert (ompi_mpi_comm_world .comm .c_f_to_c_index == OMPI_MPI_COMM_WORLD );
187
187
188
188
ret = ompi_group_from_pset (ompi_mpi_instance_default , "mpi://world" , & group );
189
189
if (OPAL_UNLIKELY (OMPI_SUCCESS != ret )) {
@@ -237,7 +237,7 @@ int ompi_comm_init_mpi3 (void)
237
237
}
238
238
/* Setup MPI_COMM_SELF */
239
239
OBJ_CONSTRUCT (& ompi_mpi_comm_self , ompi_communicator_t );
240
- assert (ompi_mpi_comm_self .comm .c_f_to_c_index == 2 );
240
+ assert (ompi_mpi_comm_self .comm .c_f_to_c_index == OMPI_MPI_COMM_SELF );
241
241
242
242
ret = ompi_group_from_pset (ompi_mpi_instance_default , "mpi://self" , & group );
243
243
if (OPAL_UNLIKELY (OMPI_SUCCESS != ret )) {
You can’t perform that action at this time.
0 commit comments