Commit 438d9dfc authored by Philip Carns's avatar Philip Carns
Browse files

remove no longer needed hack to get rpc id

parent 89359504
......@@ -52,7 +52,6 @@ int main(int argc, char **argv)
ssg_group_id_t gid;
ssg_member_id_t self;
int rank;
hg_bool_t flag;
double *measurement_array;
int namelen;
char processor_name[MPI_MAX_PROCESSOR_NAME];
......@@ -117,7 +116,7 @@ int main(int argc, char **argv)
noop_ult,
MARGO_DEFAULT_MPLEX_ID,
NULL,
MARGO_RPC_ID_IGNORE);
&noop_id);
/* set up group */
ret = ssg_init(mid);
......@@ -132,10 +131,6 @@ int main(int argc, char **argv)
printf("MPI rank %d has SSG ID %lu\n", rank, self);
#endif
/* TODO: there should be a cleaner way to get ID from MARGO_REGISTER */
ret = HG_Registered_name(hg_class, "noop_rpc", &noop_id, &flag);
assert(ret == 0 && flag);
if(self == 0)
{
/* ssg id 0 runs benchmark */
......
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