Commit 41251142 authored by David Rich's avatar David Rich Committed by Rob Latham
Browse files

No need to specify IP and port.

parent e9640b45
......@@ -86,7 +86,8 @@ int main(int argc, char *argv[])
printf("client (rank %d): server addr_str: %s\n", rank, server_addr_str);
// kv-client
sprintf(client_addr_str_in, "cci+tcp://534%02d", rank);
//sprintf(client_addr_str_in, "cci+tcp://534%02d", rank);
sprintf(client_addr_str_in, "cci+tcp://");
kv_context *context = kv_client_register(client_addr_str_in);
hret = margo_addr_self(context->mid, &client_addr);
DIE_IF(hret != HG_SUCCESS, "margo_addr_self");
......
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