Skip to content

Commit b8f18a3

Browse files
committed
Revert "test moving mpi3 comm_world init"
This reverts commit 712f0e4.
1 parent 74414e0 commit b8f18a3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ompi/instance/instance.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,6 @@ static int ompi_mpi_instance_init_common (int argc, char **argv)
701701
return ompi_instance_print_error ("ompi_mpi_init: ompi_comm_cid_init failed", ret);
702702
}
703703

704-
if (OMPI_SUCCESS != (ret = ompi_comm_init_mpi3 ())) {
705-
return ompi_instance_print_error ("ompi_comm_init_mpi3 () failed", ret);
706-
}
707-
708704
/* Next timing measurement */
709705
OPAL_TIMING_ENV_NEXT(init_common, "modex-barrier");
710706

ompi/runtime/ompi_mpi_init.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,12 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided,
353353

354354
ompi_hook_base_mpi_init_top_post_opal(argc, argv, requested, provided);
355355

356+
/* initialize communicator subsystem */
357+
if (OMPI_SUCCESS != (ret = ompi_comm_init_mpi3 ())) {
358+
error = "ompi_mpi_init: ompi_comm_init_mpi3 failed";
359+
goto error;
360+
}
361+
356362
/* Bozo argument check */
357363
if (NULL == argv && argc > 1) {
358364
ret = OMPI_ERR_BAD_PARAM;

0 commit comments

Comments
 (0)