t
This commit is contained in:
@@ -41,8 +41,8 @@ int main(int argc, char* argv[])
|
||||
std::cout << "before bcast" << std::endl;
|
||||
MPI_Bcast(&flatMatrix, flatMatrix.size(), MPI_DOUBLE, 0, MPI_COMM_WORLD);
|
||||
if(rank){
|
||||
std::cout << "after bcast" << std::endl;
|
||||
matrix = matrixTools::UnflattenMatrix(flatMatrix, citiesSize, citiesSize);
|
||||
std::cout << "after unflatten" << std::endl;
|
||||
std::cout << "Process "<< rank << " has value " << citiesSize << " as size of city" << std::endl;
|
||||
for(int i = 0; i < citiesSize; i++) {
|
||||
for (int j = 0; j < citiesSize; j++) {
|
||||
|
||||
Reference in New Issue
Block a user