Commit e1fbfc17 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

fixed daemon to comply with margo@develop

parent a15f7b85
......@@ -224,7 +224,15 @@ int main(int argc, char **argv)
/* start margo */
mochi_cfg_get_object(cfg, "margo", &margo_cfg);
cfg_str = mochi_cfg_emit(margo_cfg, "margo");
mid = margo_init_json(cfg_str);
struct margo_init_info mid_info = {
.json_config = cfg_str,
.progress_pool = ABT_POOL_NULL,
.rpc_pool = ABT_POOL_NULL,
.hg_class = NULL,
.hg_context = NULL,
.hg_init_info = NULL
};
mid = margo_init_ext(opts.listen_addr_str, MARGO_SERVER_MODE, &mid_info);
if(mid == MARGO_INSTANCE_NULL)
{
fprintf(stderr, "Error: margo_init()\n");
......
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