diff --git a/Grid/parallelIO/IldgIO.h b/Grid/parallelIO/IldgIO.h index 8ed7df5b5..afde30139 100644 --- a/Grid/parallelIO/IldgIO.h +++ b/Grid/parallelIO/IldgIO.h @@ -212,7 +212,7 @@ class GridLimeReader : public BinaryIO { // Read a generic lattice field and verify checksum //////////////////////////////////////////// template - void readLimeLatticeBinaryObject(Lattice &field,std::string record_name,int control=BINARYIO_LEXICOGRAPHIC) + void readLimeLatticeBinaryObject(Lattice &field,std::string record_name,int control=BINARYIO_LEXICOGRAPHIC|BINARYIO_AGGREGATE) { typedef typename vobj::scalar_object sobj; scidacChecksum scidacChecksum_; @@ -414,7 +414,7 @@ class GridLimeWriter : public BinaryIO // in communicator used by the field.Grid() //////////////////////////////////////////////////// template - void writeLimeLatticeBinaryObject(Lattice &field,std::string record_name,int control=BINARYIO_LEXICOGRAPHIC) + void writeLimeLatticeBinaryObject(Lattice &field,std::string record_name,int control=BINARYIO_LEXICOGRAPHIC|BINARYIO_AGGREGATE) { //////////////////////////////////////////////////////////////////// // NB: FILE and iostream are jointly writing disjoint sequences in the @@ -519,7 +519,7 @@ class ScidacWriter : public GridLimeWriter { template void writeScidacFieldRecord(Lattice &field,userRecord _userRecord, const unsigned int recordScientificPrec = 0, - int control=BINARYIO_LEXICOGRAPHIC) + int control=BINARYIO_LEXICOGRAPHIC|BINARYIO_AGGREGATE) { GridBase * grid = field.Grid(); @@ -561,7 +561,7 @@ class ScidacReader : public GridLimeReader { //////////////////////////////////////////////// template void readScidacFieldRecord(Lattice &field,userRecord &_userRecord, - int control=BINARYIO_LEXICOGRAPHIC) + int control=BINARYIO_LEXICOGRAPHIC|BINARYIO_AGGREGATE) { typedef typename vobj::scalar_object sobj; GridBase * grid = field.Grid();