diff --git a/packages/isorropia/src/epetra/Isorropia_EpetraZoltanLib.cpp b/packages/isorropia/src/epetra/Isorropia_EpetraZoltanLib.cpp index 8839e0a3a0b2..31dd9c7b7ca7 100644 --- a/packages/isorropia/src/epetra/Isorropia_EpetraZoltanLib.cpp +++ b/packages/isorropia/src/epetra/Isorropia_EpetraZoltanLib.cpp @@ -179,9 +179,9 @@ ZoltanLibClass::ZoltanLibClass(Teuchos::RCP input_map, int ZoltanLibClass::precompute() { std::string str1("Isorropia::ZoltanLibClass::precompute "); - MPI_Comm mpicomm = MPI_COMM_WORLD; + MPI_Comm mpicomm = zoltan_get_global_comm(); #ifdef HAVE_MPI - MPI_Comm default_mpicomm = MPI_COMM_WORLD; + MPI_Comm default_mpicomm = zoltan_get_global_comm(); #endif // HAVE_MPI int itype;