From 12fe42cfa7fdd01879eda13d7517545cec62dd0e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 16 Nov 2016 19:58:36 -0700 Subject: [PATCH] Fix compilation. --- source/base/mpi.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 3077c4d980..6ddcd0d52b 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -401,9 +401,9 @@ namespace Utilities std::vector all_hostnames(max_hostname_size * MPI::n_mpi_processes(MPI_COMM_WORLD)); - const int ierr MPI_Allgather (&hostname_array[0], max_hostname_size, MPI_CHAR, - &all_hostnames[0], max_hostname_size, MPI_CHAR, - MPI_COMM_WORLD); + const int ierr = MPI_Allgather (&hostname_array[0], max_hostname_size, MPI_CHAR, + &all_hostnames[0], max_hostname_size, MPI_CHAR, + MPI_COMM_WORLD); AssertThrowMPI(ierr); // search how often our own hostname appears and the how-manyth -- 2.39.5