1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Debugging the RNG, eliminate the barrier after broadcast

This commit is contained in:
Guido Cossu 2016-10-26 16:08:23 +01:00
parent d50055cd96
commit 1d666771f9
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ class BinaryIO {
}
grid->Broadcast(rank, (void *)&saved[0], bytes);
grid->Barrier(); // necessary?
//grid->Barrier(); // necessary?
if (grid->IsBoss()) {
Uint32Checksum((uint32_t *)&saved[0], bytes, csum);
fout.write((char *)&saved[0], bytes);

View File

@ -85,7 +85,7 @@ class HmcRunner : public BinaryHmcRunner {
//BinaryHmcCheckpointer
//ILDGHmcCheckpointer
//NerscHmcCheckpointer
ILDGHmcCheckpointer<BinaryHmcRunner::ImplPolicy> Checkpoint(
NerscHmcCheckpointer<BinaryHmcRunner::ImplPolicy> Checkpoint(
HMCPar.conf_prefix, HMCPar.rng_prefix, HMCPar.SaveInterval, HMCPar.format);
// Can implement also a specific function in the hmcrunner
// AddCheckpoint (...) that takes the same parameters + a string/tag