mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Few modifications on stdout messages
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user