1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

HMC: added Scidac checkpointer and support for metadata

This commit is contained in:
Guido Cossu
2018-05-02 14:28:59 +01:00
parent aaf37ee4d7
commit 6e7d5e2243
9 changed files with 185 additions and 5 deletions

View File

@ -69,6 +69,9 @@ class NerscHmcCheckpointer : public BaseHmcCheckpointer<Gimpl> {
GridParallelRNG &pRNG) {
std::string config, rng;
this->build_filenames(traj, Params, config, rng);
this->check_filename(rng);
this->check_filename(config);
FieldMetaData header;
NerscIO::readRNGState(sRNG, pRNG, header, rng);