1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 23:37:06 +01:00

Checking in before trying to reduce memory footprint

This commit is contained in:
Chulwoo Jung
2020-08-08 22:11:14 -04:00
parent 43298ef681
commit f91e3af97f
6 changed files with 47 additions and 29 deletions

View File

@ -359,12 +359,14 @@ int main (int argc, char ** argv)
JP.MaxIter,
IRBLdiagonaliseWithEigen);
// IRBLdiagonaliseWithLAPACK);
IRBL.split_test=1;
std::vector<RealD> eval(JP.Nm);
std::vector<FermionField> src(JP.Nu,FrbGrid);
if (0)
{
// in case RNG is too slow
std::cout << GridLogMessage << "Using RNG5"<<std::endl;
FermionField src_tmp(FGrid);
for ( int i=0; i<JP.Nu; ++i ){
@ -372,7 +374,8 @@ if (0)
ComplexD rnd;
RealD re;
fillScalar(re,RNG5._gaussian[0],RNG5._generators[0]);
std::cout << GridLogMessage << i <<" / "<< JP.Nm <<" rnd "<< rnd << std::endl;
std::cout << i <<" / "<< JP.Nm <<" re "<< re << std::endl;
// printf("%d / %d re %e\n",i,FGrid->_processor,re);
src_tmp=re;
pickCheckerboard(Odd,src[i],src_tmp);
}