Commit 7a97433a authored by Philip Carns's avatar Philip Carns

update to match margo api

parent 5bc4d532
Pipeline #293 skipped
......@@ -92,7 +92,7 @@ int main(int argc, char **argv)
* communication.
*/
/***************************************/
mid = margo_init(handler_pool, handler_pool, hg_context, hg_class);
mid = margo_init_pool(handler_pool, handler_pool, hg_context);
assert(mid);
/* register RPC */
......
......@@ -93,7 +93,7 @@ int main(int argc, char **argv)
* because this is a pure client that will not be servicing rpc requests.
*/
/***************************************/
mid = margo_init(pool, ABT_POOL_NULL, hg_context, hg_class);
mid = margo_init_pool(pool, ABT_POOL_NULL, hg_context);
/* register RPC */
bake_bulk_shutdown_id = MERCURY_REGISTER(hg_class, "bake_bulk_shutdown_rpc", void, void,
......@@ -101,7 +101,7 @@ int main(int argc, char **argv)
/* send one rpc to server to shut it down */
/* find addr for server */
ret = margo_addr_lookup(mid, hg_context, argv[1], &svr_addr);
ret = margo_addr_lookup(mid, argv[1], &svr_addr);
assert(ret == 0);
/* create handle */
......
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