mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 05:24:32 +00:00 
			
		
		
		
	IO uses master boss node for metadata.
This commit is contained in:
		@@ -114,7 +114,7 @@ int main (int argc, char ** argv)
 | 
			
		||||
 | 
			
		||||
  {
 | 
			
		||||
    FGrid->Barrier();
 | 
			
		||||
    ScidacWriter _ScidacWriter;
 | 
			
		||||
    ScidacWriter _ScidacWriter(FGrid->IsBoss());
 | 
			
		||||
    _ScidacWriter.open(file);
 | 
			
		||||
    std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
 | 
			
		||||
    std::cout << GridLogMessage << " Writing out gauge field "<<std::endl;
 | 
			
		||||
@@ -144,7 +144,7 @@ int main (int argc, char ** argv)
 | 
			
		||||
      std::cout << GridLogMessage << "****************************************************************** "<<std::endl;
 | 
			
		||||
 | 
			
		||||
      std::stringstream filefn;      filefn << filef << "."<< n;
 | 
			
		||||
      ScidacWriter _ScidacWriter;
 | 
			
		||||
      ScidacWriter _ScidacWriter(FGrid->IsBoss());
 | 
			
		||||
      _ScidacWriter.open(filefn.str());
 | 
			
		||||
      _ScidacWriter.writeScidacFieldRecord(src[n],record);
 | 
			
		||||
      _ScidacWriter.close();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user