diff --git a/HW10/main.cpp b/HW10/main.cpp index 1497ff2..5051f87 100644 --- a/HW10/main.cpp +++ b/HW10/main.cpp @@ -50,6 +50,8 @@ int main(int argc, char* argv[]) std::cout << "Rank: " << rank << " IM HERE 1" << std::endl; MPI_Bcast(&flatMatrix[0], flatMatrix.size(), MPI_DOUBLE, 0, MPI_COMM_WORLD); std::cout << "Rank: " << rank << " IM HERE 2" << std::endl; + std::cout << "Rank: " << rank << " citiesSize: "<< citiesSize << std::endl; + MPI_Bcast(&serializedCity[0], citiesSize*3, MPI_INT, 0, MPI_COMM_WORLD); std::cout << "Rank: " << rank << " IM HERE 3" << std::endl;