mirror of
https://github.com/paboyle/Grid.git
synced 2026-05-22 01:54:17 +01:00
Turning of NERSC header checking
This commit is contained in:
@@ -260,7 +260,8 @@ class GridLimeReader : public BinaryIO {
|
|||||||
<< " / field= " << n2ck << " / rdiff= " << GRID_FIELD_NORM_CALC(FieldNormMetaData_,n2ck) << std::endl;
|
<< " / field= " << n2ck << " / rdiff= " << GRID_FIELD_NORM_CALC(FieldNormMetaData_,n2ck) << std::endl;
|
||||||
GRID_FIELD_NORM_CHECK(FieldNormMetaData_,n2ck);
|
GRID_FIELD_NORM_CHECK(FieldNormMetaData_,n2ck);
|
||||||
}
|
}
|
||||||
assert(scidacChecksumVerify(scidacChecksum_,scidac_csuma,scidac_csumb)==1);
|
// assert(scidacChecksumVerify(scidacChecksum_,scidac_csuma,scidac_csumb)==1);
|
||||||
|
scidacChecksumVerify(scidacChecksum_,scidac_csuma,scidac_csumb);
|
||||||
|
|
||||||
// find out if next field is a GridFieldNorm
|
// find out if next field is a GridFieldNorm
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public:
|
|||||||
field.checksum = std::stoul(header["CHECKSUM"],0,16);
|
field.checksum = std::stoul(header["CHECKSUM"],0,16);
|
||||||
field.ensemble_id = header["ENSEMBLE_ID"];
|
field.ensemble_id = header["ENSEMBLE_ID"];
|
||||||
field.ensemble_label = header["ENSEMBLE_LABEL"];
|
field.ensemble_label = header["ENSEMBLE_LABEL"];
|
||||||
field.sequence_number = std::stol(header["SEQUENCE_NUMBER"]);
|
// field.sequence_number = std::stol(header["SEQUENCE_NUMBER"]);
|
||||||
field.creator = header["CREATOR"];
|
field.creator = header["CREATOR"];
|
||||||
field.creator_hardware = header["CREATOR_HARDWARE"];
|
field.creator_hardware = header["CREATOR_HARDWARE"];
|
||||||
field.creation_date = header["CREATION_DATE"];
|
field.creation_date = header["CREATION_DATE"];
|
||||||
|
|||||||
@@ -311,7 +311,6 @@ int main (int argc, char ** argv)
|
|||||||
std::vector<LatticeFermion> src(Nu,FGrid);
|
std::vector<LatticeFermion> src(Nu,FGrid);
|
||||||
for(int i=0;i<Nu;i++) random(RNG5,src[i]);
|
for(int i=0;i<Nu;i++) random(RNG5,src[i]);
|
||||||
|
|
||||||
#if 1
|
|
||||||
if(LanParams.ReadEvec) {
|
if(LanParams.ReadEvec) {
|
||||||
std::string evecs_file="evec_in";
|
std::string evecs_file="evec_in";
|
||||||
std::cout << GridLogIRL<< "Reading evecs from "<<evecs_file<<std::endl;
|
std::cout << GridLogIRL<< "Reading evecs from "<<evecs_file<<std::endl;
|
||||||
@@ -321,7 +320,6 @@ int main (int argc, char ** argv)
|
|||||||
RD.readScidacFieldRecord(src[0],record);
|
RD.readScidacFieldRecord(src[0],record);
|
||||||
RD.close();
|
RD.close();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
Coordinate origin ({0,0,0,0});
|
Coordinate origin ({0,0,0,0});
|
||||||
auto tmpSrc = peekSite(src[0], origin);
|
auto tmpSrc = peekSite(src[0], origin);
|
||||||
|
|||||||
@@ -200,8 +200,8 @@ int main(int argc, char** argv) {
|
|||||||
RD.close();
|
RD.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<Complex> boundary = {1,1,1,-1};
|
// std::vector<Complex> boundary = {1,1,1,-1};
|
||||||
// std::vector<Complex> boundary = {1,1,1,0};
|
std::vector<Complex> boundary = {1,1,1,0};
|
||||||
FermionOp::ImplParams Params(boundary);
|
FermionOp::ImplParams Params(boundary);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user