mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Debugging the RNG, eliminate the barrier after broadcast
This commit is contained in:
parent
d50055cd96
commit
1d666771f9
@ -355,7 +355,7 @@ class BinaryIO {
|
|||||||
}
|
}
|
||||||
grid->Broadcast(rank, (void *)&saved[0], bytes);
|
grid->Broadcast(rank, (void *)&saved[0], bytes);
|
||||||
|
|
||||||
grid->Barrier(); // necessary?
|
//grid->Barrier(); // necessary?
|
||||||
if (grid->IsBoss()) {
|
if (grid->IsBoss()) {
|
||||||
Uint32Checksum((uint32_t *)&saved[0], bytes, csum);
|
Uint32Checksum((uint32_t *)&saved[0], bytes, csum);
|
||||||
fout.write((char *)&saved[0], bytes);
|
fout.write((char *)&saved[0], bytes);
|
||||||
|
@ -85,7 +85,7 @@ class HmcRunner : public BinaryHmcRunner {
|
|||||||
//BinaryHmcCheckpointer
|
//BinaryHmcCheckpointer
|
||||||
//ILDGHmcCheckpointer
|
//ILDGHmcCheckpointer
|
||||||
//NerscHmcCheckpointer
|
//NerscHmcCheckpointer
|
||||||
ILDGHmcCheckpointer<BinaryHmcRunner::ImplPolicy> Checkpoint(
|
NerscHmcCheckpointer<BinaryHmcRunner::ImplPolicy> Checkpoint(
|
||||||
HMCPar.conf_prefix, HMCPar.rng_prefix, HMCPar.SaveInterval, HMCPar.format);
|
HMCPar.conf_prefix, HMCPar.rng_prefix, HMCPar.SaveInterval, HMCPar.format);
|
||||||
// Can implement also a specific function in the hmcrunner
|
// Can implement also a specific function in the hmcrunner
|
||||||
// AddCheckpoint (...) that takes the same parameters + a string/tag
|
// AddCheckpoint (...) that takes the same parameters + a string/tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user