Fixing compile errors without MPI

This commit is contained in:
Mark Berrill
2020-10-08 11:03:42 -04:00
parent 34b75e2ccf
commit 523f96abdd
70 changed files with 140 additions and 193 deletions

View File

@@ -127,7 +127,7 @@ inline void WriteBlobStates(TwoPhase TCAT, double D, double porosity){
int main(int argc, char **argv)
{
// Initialize MPI
MPI_Init(&argc,&argv);
Utilities::startup( argc, argv );
Utilities::MPI comm( MPI_COMM_WORLD );
int rank = comm.getRank();
int nprocs = comm.getSize();
@@ -317,7 +317,7 @@ int main(int argc, char **argv)
} // Limit scope so variables that contain communicators will free before MPI_Finialize
comm.barrier();
MPI_Finalize();
Utilities::shutdown();
return 0;
}