42 int main(
int argc,
char* argv[])
45 MPI_Init(&argc, &argv);
46 MPI_Comm_size(MPI_COMM_WORLD,&nprocs);
47 MPI_Comm_rank(MPI_COMM_WORLD,&myrank);
52 double initiator[4] = {.57, .19, .19, .05};
55 SpParHelper::Print(
"Generated renamed edge lists\n");
58 PSpMat_s32p64_Int G(*DEL,
false);
60 SpParHelper::Print(
"Created Sparse Matrix (with int32 local indices and values)\n");
66 vector< SpDCCols<int32_t,int> > splits(
NSPLITS);
74 if(G_perproc_copy == G_perproc_reconstructed)
76 cout <<
"ColSplit/ColConcatenate works" << endl;
80 cout <<
"ERROR" << endl;
int main(int argc, char *argv[])
void GenGraph500Data(double initiator[4], int log_numverts, int edgefactor, bool scramble=false, bool packed=false)
SpParMat< int64_t, int, SpDCCols< int32_t, int > > PSpMat_s32p64_Int
void ColConcatenate(std::vector< SpDCCols< IT, NT > > &matrices)
void ColSplit(int parts, std::vector< SpDCCols< IT, NT > > &matrices)