forked from UTulsa-Research/ag_gen
Serialize adjustments
This commit is contained in:
parent
abe8ea778a
commit
600acade77
BIN
build/ag_gen
BIN
build/ag_gen
Binary file not shown.
@ -2,6 +2,7 @@
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
|
||||
#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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user