Skip to content

Commit 2212db7

Browse files
committed
Fix rebase issues.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
1 parent cec7ad4 commit 2212db7

File tree

4 files changed

+6
-55
lines changed

4 files changed

+6
-55
lines changed

ompi/communicator/comm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,10 +1530,10 @@ int ompi_intercomm_create_from_groups (ompi_group_t *local_group, int local_lead
15301530
}
15311531

15321532
/* using 0 for the tag because we control both local_comm and leader_comm */
1533-
rprocs = ompi_comm_get_rprocs (local_comm, leader_comm, local_leader, leader_comm_remote_leader, 0, rsize);
1534-
if (OPAL_UNLIKELY(NULL == rprocs)) {
1533+
rc = ompi_comm_get_rprocs (local_comm, leader_comm, local_leader, leader_comm_remote_leader, 0, rsize, &rprocs);
1534+
if (OPAL_UNLIKELY(OMPI_SUCCESS != rc)) {
15351535
ompi_comm_free (&local_comm);
1536-
return OMPI_ERR_OUT_OF_RESOURCE;
1536+
return rc;
15371537
}
15381538

15391539
if (!i_am_leader) {

ompi/communicator/comm_cid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ static int ompi_comm_checkcid (ompi_comm_request_t *request)
516516

517517
if (OMPI_SUCCESS != request->super.req_status.MPI_ERROR) {
518518
if (participate) {
519-
opal_pointer_array_set_item(&ompi_mpi_communicators, context->nextlocal_cid, NULL);
519+
opal_pointer_array_set_item(&ompi_comm_array, context->nextlocal_cid, NULL);
520520
}
521521
return request->super.req_status.MPI_ERROR;
522522
}
@@ -560,7 +560,7 @@ static int ompi_comm_nextcid_check_flag (ompi_comm_request_t *request)
560560

561561
if (OMPI_SUCCESS != request->super.req_status.MPI_ERROR) {
562562
if (participate) {
563-
opal_pointer_array_set_item(&ompi_mpi_communicators, context->nextcid, NULL);
563+
opal_pointer_array_set_item(&ompi_comm_array, context->nextcid, NULL);
564564
}
565565
return request->super.req_status.MPI_ERROR;
566566
}

opal/mca/btl/ugni/btl_ugni.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static inline uint32_t mca_btl_ugni_ep_get_device_index (mca_btl_ugni_module_t *
306306
static volatile uint32_t device_index = (uint32_t) 0;
307307

308308
/* don't really care if the device index is atomically updated */
309-
return opal_atomic_fetch_add_32 ((volatile int32_t *) &device_index, 1) % mca_btl_ugni_component.virtual_device_count;
309+
return opal_atomic_fetch_add_32 ((opal_atomic_int32_t *) &device_index, 1) % mca_btl_ugni_component.virtual_device_count;
310310
}
311311

312312
/**

opal/runtime/opal_finalize.c

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ int opal_finalize(void)
170170
return OPAL_SUCCESS;
171171
}
172172

173-
<<<<<<< variant A
174173
opal_finalize_cleanup_domain (&opal_init_domain);
175174
OBJ_DESTRUCT(&opal_init_domain);
176175

@@ -198,52 +197,4 @@ void opal_warn_fork(void)
198197
pthread_atfork(warn_fork_cb, NULL, NULL);
199198
atfork_called = true;
200199
}
201-
>>>>>>> variant B
202-
opal_finalize_cleanup_domain (&opal_init_domain);
203-
OBJ_DESTRUCT(&opal_init_domain);
204-
205-
/* finalize util code */
206-
opal_finalize_util();
207-
208-
return OPAL_SUCCESS;
209-
####### Ancestor
210-
opal_progress_finalize();
211-
212-
/* close the checkpoint and restart service */
213-
opal_cr_finalize();
214-
215-
#if OPAL_ENABLE_FT_CR == 1
216-
(void) mca_base_framework_close(&opal_compress_base_framework);
217-
#endif
218-
219-
(void) mca_base_framework_close(&opal_reachable_base_framework);
220-
221-
(void) mca_base_framework_close(&opal_event_base_framework);
222-
223-
/* close high resolution timers */
224-
(void) mca_base_framework_close(&opal_timer_base_framework);
225-
226-
(void) mca_base_framework_close(&opal_backtrace_base_framework);
227-
(void) mca_base_framework_close(&opal_memchecker_base_framework);
228-
229-
/* close the memcpy framework */
230-
(void) mca_base_framework_close(&opal_memcpy_base_framework);
231-
232-
/* finalize the memory manager / tracker */
233-
opal_mem_hooks_finalize();
234-
235-
/* close the hwloc framework */
236-
(void) mca_base_framework_close(&opal_hwloc_base_framework);
237-
238-
/* close the shmem framework */
239-
(void) mca_base_framework_close(&opal_shmem_base_framework);
240-
241-
/* cleanup the main thread specific stuff */
242-
opal_tsd_keys_destruct();
243-
244-
/* finalize util code */
245-
opal_finalize_util();
246-
247-
return OPAL_SUCCESS;
248-
======= end
249200
}

0 commit comments

Comments
 (0)