1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Few modifications on stdout messages

This commit is contained in:
Guido Cossu 2016-10-20 17:01:59 +01:00
parent 590675e2ca
commit 977d844394
6 changed files with 7 additions and 9 deletions

View File

@ -513,8 +513,6 @@ static inline void readRNGState(GridSerialRNG &serial,GridParallelRNG & parallel
// munger is a function of <floating point, Real, data_type>
uint32_t csum=BinaryIO::readRNGSerial(serial,parallel,file,offset);
std::cerr<<" Csum "<< csum << " "<< header.checksum <<std::endl;
assert(csum == header.checksum );
std::cout<<GridLogMessage <<"Read NERSC RNG file "<<file<< " format "<< data_type <<std::endl;

View File

@ -85,7 +85,6 @@ public:
LinkField Pmu(P._grid);
Pmu = zero;
for (int mu = 0; mu < Nd; mu++) {
std::cout << "generating momenta " << mu << "\n";
SU<Nrepresentation>::GaussianFundamentalLieAlgebraMatrix(pRNG, Pmu);
PokeIndex<LorentzIndex>(P, Pmu, mu);
}

View File

@ -41,7 +41,7 @@ int main (int argc, char ** argv)
std::vector<int> simd_layout = GridDefaultSimd(4,vComplex::Nsimd());
std::vector<int> mpi_layout = GridDefaultMpi();
std::vector<int> latt_size ({16,16,16,32});
std::vector<int> latt_size ({32,32,32,32});
std::vector<int> clatt_size ({4,4,4,8});
int orthodir=3;
int orthosz =latt_size[orthodir];
@ -73,6 +73,7 @@ int main (int argc, char ** argv)
random(sRNGb,b);
std::cout << " serial RNG numbers "<<a<<" "<<b<<std::endl;
LatticeGaugeField Umu(&Fine);
LatticeGaugeField Umu_diff(&Fine);
LatticeGaugeField Umu_saved(&Fine);

View File

@ -68,7 +68,7 @@ class HmcRunner : public NerscHmcRunner {
TwoFlavourPseudoFermionAction<ImplPolicy> Nf2(FermOp, CG, CG);
// Set smearing (true/false), default: false
Nf2.is_smeared = true;
Nf2.is_smeared = false;
// Collect actions
ActionLevel<LatticeGaugeField> Level1(1);

View File

@ -151,7 +151,7 @@ int main(int argc, char **argv) {
std::vector<int> ParSeed({6, 7, 8, 9, 10});
TheHMC.RNGSeeds(SerSeed, ParSeed);
TheHMC.MDparameters.set(20, 1.0);// MDsteps, traj length
TheHMC.MDparameters.set(5, 1.0);// MDsteps, traj length
TheHMC.BuildTheAction(argc, argv);
}

View File

@ -82,9 +82,9 @@ class HmcRunner : public BinaryHmcRunner {
std::vector<RealD> betat(Ls,5);
std::vector<RealD> betas(Ls);
betas={5,6,6,5};
std:cout << "Betas:" << betas << std::endl;
VariableWilsonGaugeActionR Waction(betas, betat, UGrid);
//WilsonGaugeActionR Waction(5.6);
//std:cout << "Betas:" << betas << std::endl;
//VariableWilsonGaugeActionR Waction(betas, betat, UGrid);
WilsonGaugeActionR Waction(5.6);
// Collect actions
ActionLevel<Field> Level1(1);