33 char test_filename[128], out_filename[128];
38 int maxnvtxs = -1, maxnedges = -1;
39 int readew = -1, readvw = -1, dummy, edge;
40 idxtype *vtxdist, *xadj, *adjncy, *vwgt, *adjwgt;
41 idxtype *your_xadj, *your_adjncy, *your_vwgt, *your_adjwgt, graphinfo[4];
44 struct Global_inf *global_index;
52 int cglevel, adaplevel, tmp, neibpetot, *neibpe, allnodtotcur, intnodetotcur,
53 *idnode, *whennode, *xyz;
63 fprintf(stderr,
"Start graph repartition now ...\n");
69 if (flag_control == 0)
77 graph = (GraphType *)malloc(
sizeof(GraphType));
86 fprintf(stderr,
"the edgecut number is %d\n", result->
edgecut);
101 fprintf(stderr,
"Finish repartition now. \n");
102 fprintf(stderr,
"The time for repartition is %lf\n", t2 - t1);
103 fprintf(stderr,
"Start migration...\n");