#ifndef __XIOS_MPI_TOOLS_HPP__ #define __XIOS_MPI_TOOLS_HPP__ #include #include namespace xios { int MPI_Bcast_string(std::string& str, int root, MPI_Comm comm) ; template MPI_Datatype MPI_GetType(void) ; template<> MPI_Datatype MPI_GetType(void) ; template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); template<> MPI_Datatype MPI_GetType(void); class CCommTrack { private: static std::map commTrack_ ; public: static void registerComm(const MPI_Comm& comm) ; static void releaseComm(const MPI_Comm& comm) ; static void dumpComm(void) ; static const std::map& getCommTrack(void) {return commTrack_ ;} } ; } #endif