aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOStreamedHDF5
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetIOStreamedHDF5')
-rw-r--r--Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc b/Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc
index bc3b38df5..ea21123b1 100644
--- a/Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc
+++ b/Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc
@@ -111,7 +111,7 @@ static void* SetupGH (tFleshConfig* const fleshconfig,
// broadcast success of socket operation to all processors
int have_socket = real_socket != INVALID_SOCKET;
- MPI_Bcast (&have_socket, 1, MPI_INT, 0, dist::comm);
+ MPI_Bcast (&have_socket, 1, MPI_INT, 0, dist::comm());
// do not continue here if no socket is available
if (not have_socket) {
@@ -242,7 +242,7 @@ static int OutputGH (const cGH* const cctkGH)
client_is_ready =
select (FD_SETSIZE, &read_set, NULL, NULL, &timeout) == 1;
}
- MPI_Bcast (&client_is_ready, 1, MPI_INT, 0, dist::comm);
+ MPI_Bcast (&client_is_ready, 1, MPI_INT, 0, dist::comm());
}
// short cut if there is nothing to do