#include #include #include #ifdef CCTK_MPI # include #else # include "nompi.h" #endif namespace CarpetLib { using namespace std; // String communication vector gather_string (MPI_Comm comm, int root, string const & data); vector allgather_string (MPI_Comm comm, string const & data); vector alltoallv_string (MPI_Comm comm, vector const & data); string broadcast_string (MPI_Comm comm, int root, string const & data); // Arbitrary datatypes template vector > allgatherv (MPI_Comm comm, vector const & data); template vector alltoall (MPI_Comm comm, vector const & data); template vector > alltoallv (MPI_Comm comm, vector > const & data); template vector alltoallv1 (MPI_Comm comm, vector > const & data); } // namespace CarpetLib