Commit a987b73a authored by Moreland, Ken's avatar Moreland, Ken
Browse files

Add initialize and finalize for MPI

Hopefully these work with the MPI stub library as well.
parent 74c4fb6b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2336,6 +2336,8 @@ void readTimeIndexAndArea(const LAMMPS &rLammps) {
}

int main(int argc, char *argv[]) {
  MPI_Init(&argc, &argv);

  // specify lattice unit
  float lattice_unit = 3.1652;

@@ -2551,5 +2553,7 @@ int main(int argc, char *argv[]) {
  }

  printf("\n");

  MPI_Finalize();
  return 0;
}