1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-12-23 19:35:26 +00:00

More debug output for the RNG

This commit is contained in:
Guido Cossu 2016-10-22 13:34:17 +01:00
parent 3e990c9d0a
commit df67e013ca

View File

@ -356,6 +356,7 @@ class BinaryIO {
grid->Broadcast(rank, (void *)&saved[0], bytes);
if (grid->IsBoss()) {
std::cout << "Saved: " << saved << std::endl;
Uint32Checksum((uint32_t *)&saved[0], bytes, csum);
fout.write((char *)&saved[0], bytes);
}
@ -429,6 +430,7 @@ class BinaryIO {
if( rank == grid->ThisRank() ){
parallel.SetState(saved,l_idx);
std::cout << "Saved: " << saved << std::endl;
}
}