57int main(
int argc,
char *argv[]) {
62 MPI_Init(&argc,&argv);
72 if (argc>1)
if (argv[1][0]==
'-' && argv[1][1]==
'v') verbose =
true;
75 int localverbose = verbose ? 1 : 0;
77 MPI_Allreduce(&localverbose, &globalverbose, 1, MPI_INT, MPI_SUM,
79 verbose = (globalverbose>0);
82 int MyPID = Comm.
MyPID();
85 if (verbose && MyPID==0)
88 if (verbose) cout << Comm <<endl;
90 int NumMyElements = 4;
91 int NumGlobalElements = NumMyElements*NumProc;
94 Epetra_Map Map(NumGlobalElements, NumMyElements, IndexBase, Comm);
101 bool preconstruct_graph =
false;
105 preconstruct_graph =
true;
int main(int argc, char *argv[])