Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
2f4155f1
Commit
2f4155f1
authored
Oct 03, 2016
by
Jonathan Jenkins
Browse files
0-init margo stuff in mpi config path
parent
4e1bbdfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ssg.c
View file @
2f4155f1
...
...
@@ -244,6 +244,15 @@ ssg_t ssg_init_mpi(hg_class_t *hgcl, MPI_Comm comm)
s
->
buf_size
=
sizes_psum
[
comm_size
];
s
->
rank
=
comm_rank
;
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:
if
(
self_addr
!=
HG_ADDR_NULL
)
HG_Addr_free
(
hgcl
,
self_addr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment