Skip to content

Commit 712f0e4

Browse files
committed
test moving mpi3 comm_world init
Signed-off-by: Howard Pritchard <[email protected]>
1 parent b3ae758 commit 712f0e4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ompi/instance/instance.c

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

702+
if (OMPI_SUCCESS != (ret = ompi_comm_init_mpi3 ())) {
703+
return ompi_instance_print_error ("ompi_comm_init_mpi3 () failed", ret);
704+
}
705+
702706
/* Next timing measurement */
703707
OPAL_TIMING_ENV_NEXT(init_common, "modex-barrier");
704708

ompi/runtime/ompi_mpi_init.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,6 @@ 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-
362356
/* Bozo argument check */
363357
if (NULL == argv && argc > 1) {
364358
ret = OMPI_ERR_BAD_PARAM;

0 commit comments

Comments
 (0)