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:
parent
3e990c9d0a
commit
df67e013ca
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user