Commit 1c5f059b authored by Shane Snyder's avatar Shane Snyder

port remainder of tests to new create fn

parent 0b4ab705
......@@ -181,18 +181,18 @@ int main(int argc, char *argv[])
if(strcmp(opts.group_mode, "mpi") == 0)
{
snprintf(scratch, 1024, "%s-%d", opts.group_name, 1);
g1_id = ssg_group_create_mpi(mid, scratch, MPI_COMM_WORLD, NULL, NULL);
g1_id = ssg_group_create_mpi(mid, scratch, MPI_COMM_WORLD, NULL, NULL, NULL);
snprintf(scratch, 1024, "%s-%d", opts.group_name, 2);
g2_id = ssg_group_create_mpi(mid, scratch, MPI_COMM_WORLD, NULL, NULL);
g2_id = ssg_group_create_mpi(mid, scratch, MPI_COMM_WORLD, NULL, NULL, NULL);
}
#endif
#ifdef SSG_HAVE_PMIX
if(strcmp(opts.group_mode, "pmix") == 0)
{
snprintf(scratch, 1024, "%s-%d", opts.group_name, 1);
g1_id = ssg_group_create_pmix(mid, scratch, proc, NULL, NULL);
g1_id = ssg_group_create_pmix(mid, scratch, proc, NULL, NULL, NULL);
snprintf(scratch, 1024, "%s-%d", opts.group_name, 2);
g2_id = ssg_group_create_pmix(mid, scratch, proc, NULL, NULL);
g2_id = ssg_group_create_pmix(mid, scratch, proc, NULL, NULL, NULL);
}
#endif
DIE_IF(g1_id == SSG_GROUP_ID_INVALID, "ssg_group_create");
......
......@@ -192,18 +192,18 @@ int main(int argc, char *argv[])
if(strcmp(opts.group_mode, "mpi") == 0)
{
snprintf(scratch, 1024, "%s-%d", opts.group_name, 1);
g1_id = ssg_group_create_mpi(mid1, scratch, MPI_COMM_WORLD, NULL, NULL);
g1_id = ssg_group_create_mpi(mid1, scratch, MPI_COMM_WORLD, NULL, NULL, NULL);
snprintf(scratch, 1024, "%s-%d", opts.group_name, 2);
g2_id = ssg_group_create_mpi(mid2, scratch, MPI_COMM_WORLD, NULL, NULL);
g2_id = ssg_group_create_mpi(mid2, scratch, MPI_COMM_WORLD, NULL, NULL, NULL);
}
#endif
#ifdef SSG_HAVE_PMIX
if(strcmp(opts.group_mode, "pmix") == 0)
{
snprintf(scratch, 1024, "%s-%d", opts.group_name, 1);
g1_id = ssg_group_create_pmix(mid1, scratch, proc, NULL, NULL);
g1_id = ssg_group_create_pmix(mid1, scratch, proc, NULL, NULL, NULL);
snprintf(scratch, 1024, "%s-%d", opts.group_name, 2);
g2_id = ssg_group_create_pmix(mid2, scratch, proc, NULL, NULL);
g2_id = ssg_group_create_pmix(mid2, scratch, proc, NULL, NULL, NULL);
}
#endif
DIE_IF(g1_id == SSG_GROUP_ID_INVALID, "ssg_group_create");
......
......@@ -188,11 +188,11 @@ int main(int argc, char *argv[])
/* XXX do we want to use callback for testing anything about group??? */
#ifdef SSG_HAVE_MPI
if(strcmp(opts.group_mode, "mpi") == 0)
g_id = ssg_group_create_mpi(mid, "fail_group", MPI_COMM_WORLD, NULL, NULL);
g_id = ssg_group_create_mpi(mid, "fail_group", MPI_COMM_WORLD, NULL, NULL, NULL);
#endif
#ifdef SSG_HAVE_PMIX
if(strcmp(opts.group_mode, "pmix") == 0)
g_id = ssg_group_create_pmix(mid, "fail_group", proc, NULL, NULL);
g_id = ssg_group_create_pmix(mid, "fail_group", proc, NULL, NULL, NULL);
#endif
DIE_IF(g_id == SSG_GROUP_ID_INVALID, "ssg_group_create");
......
......@@ -126,7 +126,7 @@ int main(int argc, char *argv[])
DIE_IF(sret != SSG_SUCCESS, "ssg_init");
/* XXX do we want to use callback for testing anything about group??? */
g_id = ssg_group_create_pmix(mid, "fail_group", proc, NULL, NULL);
g_id = ssg_group_create_pmix(mid, "fail_group", proc, NULL, NULL, NULL);
DIE_IF(g_id == SSG_GROUP_ID_INVALID, "ssg_group_create");
/* get my group id and the size of the group */
......
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