sample #include <iostream> #include <boost/mpi.hpp> #include <boost/serialization/string.hpp> using namespace std; int main( int argc, char* argv[] ) { boost::mpi::environment env(argc, argv); // MPI_Init çãªãã® boost::mpi::communicator world; // MPI_COMM_WORLD çãªãã® if( (world.rank()&1) == 0 ) { // MPI_Send çãªãã® // å¶æ°çªããã»ã¹ããå¥æ°çªããã»ã¹ã«ã¡ãã»ã¼ã¸éä¿¡ // stringã®ãããªãªãã¸ã§ã¯ãã§ããBoost.Serialization ã§ã·ãªã¢ã©ã¤ãºããã¦éä¿¡ããã¾ã w
{{#tags}}- {{label}}
{{/tags}}