@@ -279,7 +279,6 @@ opal_list_t ompi_registered_datareps = {{0}};
279
279
280
280
bool ompi_enable_timing = false, ompi_enable_timing_ext = false;
281
281
extern bool ompi_mpi_yield_when_idle ;
282
- extern bool ompi_mpi_lazy_wait_in_init ;
283
282
extern int ompi_mpi_event_tick_rate ;
284
283
285
284
/**
@@ -529,11 +528,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
529
528
opal_pmix .register_evhandler (NULL , & info , ompi_errhandler_callback ,
530
529
ompi_errhandler_registration_callback ,
531
530
(void * )& errtrk );
532
- if ( ompi_mpi_lazy_wait_in_init ){
533
- OMPI_LAZY_WAIT_FOR_COMPLETION (errtrk .active );
534
- } else {
535
- OMPI_WAIT_FOR_COMPLETION (errtrk .active );
536
- }
531
+ OMPI_LAZY_WAIT_FOR_COMPLETION (errtrk .active );
537
532
538
533
OPAL_LIST_DESTRUCT (& info );
539
534
if (OPAL_SUCCESS != errtrk .status ) {
@@ -660,11 +655,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
660
655
if (NULL != opal_pmix .fence_nb ) {
661
656
opal_pmix .fence_nb (NULL , opal_pmix_collect_all_data ,
662
657
fence_release , (void * )& active );
663
- if ( ompi_mpi_lazy_wait_in_init ){
664
- OMPI_LAZY_WAIT_FOR_COMPLETION (active );
665
- } else {
666
- OMPI_WAIT_FOR_COMPLETION (active );
667
- }
658
+ OMPI_LAZY_WAIT_FOR_COMPLETION (active );
668
659
} else {
669
660
opal_pmix .fence (NULL , opal_pmix_collect_all_data );
670
661
}
@@ -841,11 +832,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
841
832
if (NULL != opal_pmix .fence_nb ) {
842
833
opal_pmix .fence_nb (NULL , opal_pmix_collect_all_data ,
843
834
fence_release , (void * )& active );
844
- if ( ompi_mpi_lazy_wait_in_init ){
845
- OMPI_LAZY_WAIT_FOR_COMPLETION (active );
846
- } else {
847
- OMPI_WAIT_FOR_COMPLETION (active );
848
- }
835
+ OMPI_LAZY_WAIT_FOR_COMPLETION (active );
849
836
} else {
850
837
opal_pmix .fence (NULL , opal_pmix_collect_all_data );
851
838
}
0 commit comments