25 #include <graphlab/rpc/dc.hpp>
26 using namespace graphlab;
30 std::cout << dc.
procid() <<
": Receiving print with value : " << val << std::endl;
35 int main(
int argc,
char ** argv) {
36 mpi_tools::init(argc, argv);
40 std::cout<<
"RPC Example 8: Basic Broadcast Test\n";
41 std::cout <<
"Run with exactly 4 MPI nodes.\n";
46 std::cout <<
"First set of calls... Proc 1 and 3 should receive" << std::endl;
47 std::vector<procid_t> s;
48 s.push_back(1); s.push_back(3);
54 std::cout <<
"Second set of calls... Proc 0 and 2 should receive" << std::endl;
55 std::vector<procid_t> s;
56 s.push_back(2); s.push_back(0);
61 mpi_tools::finalize();