29 #include <graphlab/serialization/serialization_includes.hpp>
30 #include <graphlab/rpc/dc.hpp>
31 using namespace graphlab;
39 void print(std::map<int, teststruct> &data1,
41 std::cout <<
"1.a = " << data1[1].a << std::endl;
42 std::cout <<
"10.b = " << data1[10].b << std::endl;
43 std::cout <<
"string = " << data2 << std::endl;
48 int main(
int argc,
char ** argv) {
50 mpi_tools::init(argc, argv);
54 std::cout<<
"RPC Example 3: Asynchronous RPC with Struct POD Serialization\n";
55 std::cout <<
"Run with exactly 2 MPI nodes.\n";
60 std::map<int, teststruct> data;
67 mpi_tools::finalize();