From b8f73647da0f7450ceaabab86a20a15d3a348259 Mon Sep 17 00:00:00 2001 From: Thomas Radke Date: Wed, 23 Nov 2005 15:58:00 +0000 Subject: CarpetIOStreamedHDF5: use dist::comm() instead of dist::comm darcs-hash:20051123155817-776a0-6a6aa115a8034e7cf8b98c56ffbd55a947bd628f.gz --- Carpet/CarpetIOStreamedHDF5/src/CarpetIOStreamedHDF5.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Carpet/CarpetIOStreamedHDF5') 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 -- cgit v1.2.3