diff --git a/build/ag_gen b/build/ag_gen index 24ef45e..54814ad 100755 Binary files a/build/ag_gen and b/build/ag_gen differ diff --git a/src/mpi/serialize.cpp b/src/mpi/serialize.cpp index da5f51a..51bd700 100644 --- a/src/mpi/serialize.cpp +++ b/src/mpi/serialize.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include "../ag_gen/asset.h" #include "../ag_gen/assetgroup.h" @@ -178,6 +179,9 @@ int network_state_check(NetworkState &ns1, NetworkState &ns2){ void serialization_unit_testing(AGGenInstance &instance, boost::mpi::communicator &world){ + char hammer_host[256]; + gethostname(hammer_host, 256); + if(world.rank() == 0){ printf("\n"); std::cout << "---------STARTING SERIALIZATION UNIT TESTING---------" << std::endl; @@ -185,7 +189,7 @@ void serialization_unit_testing(AGGenInstance &instance, boost::mpi::communicato world.barrier(); std::cout << "\nHello from process " << world.rank() << " of " << world.size() - << "." << std::endl; + << "running on " << hammer_host << std::endl; world.barrier(); std::string filename(boost::archive::tmpdir());