Commit 2f4155f1 authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

0-init margo stuff in mpi config path

parent 4e1bbdfd
...@@ -244,6 +244,15 @@ ssg_t ssg_init_mpi(hg_class_t *hgcl, MPI_Comm comm) ...@@ -244,6 +244,15 @@ ssg_t ssg_init_mpi(hg_class_t *hgcl, MPI_Comm comm)
s->buf_size = sizes_psum[comm_size]; s->buf_size = sizes_psum[comm_size];
s->rank = comm_rank; s->rank = comm_rank;
self_addr = HG_ADDR_NULL; // don't free this on success self_addr = HG_ADDR_NULL; // don't free this on success
#if HAVE_MARGO
s->mid = MARGO_INSTANCE_NULL;
s->barrier_rpc_id = 0;
s->barrier_id = 0;
s->barrier_count = 0;
s->barrier_mutex = ABT_MUTEX_NULL;
s->barrier_cond = ABT_COND_NULL;
s->barrier_eventual = ABT_EVENTUAL_NULL;
#endif
fini: fini:
if (self_addr != HG_ADDR_NULL) HG_Addr_free(hgcl, self_addr); if (self_addr != HG_ADDR_NULL) HG_Addr_free(hgcl, self_addr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment