mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 03:54:33 +00:00 
			
		
		
		
	Debugging the RNG, eliminate the barrier after broadcast
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user