58int main(
int argc,
char *argv[]) {
66 MPI_Init(&argc,&argv);
79 if (argc>1)
if (argv[1][0]==
'-' && argv[1][1]==
'v') verbose =
true;
82 int localverbose = verbose ? 1 : 0;
84 MPI_Allreduce(&localverbose, &globalverbose, 1, MPI_INT, MPI_SUM,
86 verbose = (globalverbose>0);
89 int MyPID = Comm.
MyPID();
92 if (verbose && MyPID==0)
95 if (verbose) cout << Comm <<endl;
100 int NumMyElements = 4;
101 int NumGlobalElements = NumMyElements*NumProc;
104 Epetra_Map Map(NumGlobalElements, NumMyElements, IndexBase, Comm);
113 bool preconstruct_graph =
false;
117 preconstruct_graph =
true;
int main(int argc, char *argv[])